Ruby on Rails Monday, May 28, 2012

What is the log?

2012/5/28 Avantec Van <lists@ruby-forum.com>
Hi,

This is my application.js

/*
  *= require_self
 *= require_tree .

*/

And I'm calling it in layout as <%= javascript_include_tag "application"
%>

and it is working perfectly in development mode.

But after doing rake assets:precompile, javascripts not working in
production env.

I have many other javascripts like sprytabbedpanels, jquery simplemodal,
jquery rotate etc.

But those are not working in production mode. I have given everything to
true in my config/environments/production.rb. But still not luck.

Kindly help me to resolve this issue.

Thanks & regrds,
Avantec

--
Posted via http://www.ruby-forum.com/.

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.




--
Fernando Almeida
www.fernandoalmeida.net

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment