Thank you for the suggestions, guys.

I see how trading reliability for speed might be an issue, but since I'm 
not working on a cluster of servers with some critical commercial app, I 
think I'll risk :-).

Also, thanks for the idea about caching the bundled gems directory, but 
that seems overkilling.
Still, it convinced me that using the default user directory (~/.rvm) is 
not such a great idea.

I eventually used:
set :bundle_dir, File.join(fetch(:shared_path), 'bundle')
...it installs everything in a shared folder that is used by any "current" 
release.

I just tried to deploy the app three times (with minor modifications to a 
private view), and after the first execution of `bundle:install` the others 
are very fast (6-10 seconds).

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* 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/capistrano?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to