Problems with bundle install

Hi,

When I run "bundle install" on my app, all works fine. Otherwise, if I run "bundle install --gemfile /home/deployer/apps/my_app/shared/cached-copy/app_portal/Gemfile --path /home/deployer/apps/my_app/shared/bundle --deployment --without development test" (command used by Capistrano), I get the following error: bundle-error · GitHub

Any ideas??

Thanks

If I run "RAILS_ENV=production bundle install", I get the same error.