Ruby on Rails and jQuery not working locally but on heroku is fine
I got an weird problem! I'm t开发者_如何学编程rying to make a site in Rails, I got some documentation but I can't figure this one out. I'm using a jQuery plug-in to alter my scrollbars inside an div as you can see on this website,
http://dontkeepmewaiting.heroku.com/home/index
I made a screenshot of the only difference I could find between the version on Heroku and the localhost version, it's pretty big (1900x1200)
http://no-illusions.nl/random/jquery_rails.png
as you can see all the files are the same (I checked them) the only thing that's different is the order but that can't be it right?
Maybe Heroku has an gem install which I don't?
Check the permissions on the javascript files
精彩评论