Bundler in deployment mode does not find Gems
问题 I was heavily struggling with my Capistrano Setup, when my Hoster migrated the server: Capistrano3 deploy fails after migrating the server One thing I ran into that used to work just fine on the old machine and now seems to be a mess is bundler: I could successfully run bundler through Capistrano: cap staging bundler:install This resulted in the following command on the server /usr/bin/env bundle install --binstubs \ /var/www/mydomain.com/subdomains/dev/shared/bin \ --path /var/www/mydomain