Ruby on Rails Thursday, May 2, 2013

You don't need to precompile your assets in development environment. Remove config.assets.compile = false from config/environments/development.rb if it's there. Read this stackoverflow question for a better idea of what happens.



On 2 May 2013 00:37, Miguel Correlo <correlomm@gmail.com> wrote:
 Hi,
I need fix any bugs in a rails project. The problem is every time I change anything in javascript I have to make 
bundle exec rake rails_group=assets assets:clean  RAILS_ENV=development and then
bundle exec rake rails_group=assets assets:precompile  RAILS_ENV=development
and finaly restart the rails server. This way spend 10 min.

Exists any other solution?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/29Bs1vd0ERwJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment