开发者

Ruby on Rails app not loading stylesheet despite it being accessible on the server

I'm currently migrating my Ruby on Rails 2.3.8 apps to a new server running Apache 2.2.17 on FreeBSD 8.1 with Passenger 3, Ruby Enterprise Edition 1.8.7. For some reason, despite the stylesheets being accessible, the apps are not loading them. The code is correct and runs fine on the old setup. Has anyone ran into this?

Update: Wowwww it was an issue with the versio开发者_开发问答n of chromium. All is good after updating. Thanks for the help everyone.


I'd check on the permissions -- what user is the ruby process running under (for passenger), and does that user have access to the stylesheet in question.

you can use ls -l to see permission sets for the stylesheets.


This was an issue with the edge-version of Chrome I was using... Should have checked another browser before posting.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜