I am using capistrano v2.9.0 to deploy to a ubuntu server running
apache v2.2.12, passenger v3.0.4, ruby v1.9.2 and rails v3.0.1.  When
I deploy a new application, I often get error messages like:

Could not find net-ssh-2.2.2 in any of the sources
(Bundler::GemNotFound)

The missing gem is actually in the vendor/cache directory, but it is
being ignored.  For a while I was globally installing these missing
gems, but recently I found that by running the command:

$ bundle install --path vendor/cache

after deploying the application, passenger would use the gems in the
application.

Why do I need to do this extra step and why can't capistrano do it for
me?

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

Reply via email to