[Rails] Re: passenger does not see gems in vendor/cache

2012-01-14 Thread Steven F.
Well, this makes little sense to me, but it is a work-around for this problem. Add the following line to your deploy.rb file: before deploy:assets:precompile, :bundle_install I've also run (on the server) bundle config path vendor/cache and placed export BUNDLE_PATH=vendor/cache in the

[Rails] Re: passenger does not see gems in vendor/cache

2012-01-13 Thread Steven F.
I am having the same issue(s). It appears that bundle puts the gems into vendor/cache, but the application (or capistrano during install?) is not looking for them there. The installation fails, but examining shared/cached-copy/vendor/cache on the server (deployment destination) shows the missing

[Rails] Re: passenger does not see gems in vendor/cache

2012-01-13 Thread Steven F.
By the way... running bundle install --path vendor/cache on the development system, then re-deploying did not fix the problem -- the deploy still failed at the assets compile step. To get it to deploy I have to shell into the server, cd to shared/cached-copy and then run bundle pack to install