Niko
2011-Oct-20 17:18 UTC
Rails 3.1.1, problem with javascript and config.assets.debug = false in development mode
Hi all, I''m trying to use a js image gallery (galleria) and everything works fine when I have config.assets.debug = true but when I set it to false the gallery does not load but no js errors occur. I checked the js and css files in the second case and everything looks ok to me... I have created a sample project that illustrates the problem in github. the instructions are in the README and pasted here. Any feedback would be appreciated. Thanks! README git clone git://github.com/stream7/sample.git rvm use 1.9.2@sample --create bundle install rake db:create rake db:setup # creates 4 images visit http://localhost:3000/images and you should see the javascript image gallery (galleria) working set config.assets.debug = false restart your server visit http://localhost:3000/images and you should see that the gallery does not load correctly but no javascript errors are recorded in the console so, what am I doing wrong here? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.