I experienced the same thing, although in my case it takes so long to
precompile on my server I don';t know if it ever finishes, waited 15 minutes
one time and it still had not finished.
My solution was to precompile locally which takes a few seconds, then copy
the public/assets directory to my server. My cap task is...
desc "deploy the precompiled assets"
task :deploy_assets, :except => { :no_release => true } do
run_locally("rake assets:clean && rake precompile")
upload("public/assets", "#{release_path}/public/assets", :via =>
:scp, :recursive => true)
end
Note I don't use the supplied assets:precompile due to a bug in it which has
not yet been released but the task has see the rails bug lists for that.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/ypHmqKHSrPIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.