I''m currently using Rails 3.1rc5, and deploy with capistrano. During
deploy, I precompile the assets on the server using assets:precompile
after deploy:symlink.
I noticed that "group :assets" gems in my gemfile were being included
in my production application processes (and adding a lot of memory
usage), even though they are only used during the deploy.
It looks like this change to rails 3.1rc6 -
https://github.com/rails/rails/commit/0c57ae102f938b8f3d14d7cc37ab15b87bdaa4f5
- mean that assets will now not be included in production by default.
Does this mean though that I need to precompile on my development PC
first before deploying with capistrano, or will it also work as I
currently have it - precompiling on the server ? I.e. will the asset
gems still be available on the server, but just used for the
precompile ?
--
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.