The --deployment flag requires a Gemfile.lock. Please make sure you have checked your Gemfile.lock into version control before deploying
问题 I get this error when i deploy with Capistrano on a server, I have tried to solve it for about 3 hours now unsuccessfully this errors happens when cap runs bundle install executing "cd $HOME/releases/20130629113827 && bundle install --gemfile $HOME/releases/20130629113827/Gemfile --path $HOME/shared/bundle --deployment --quiet --without development test" executing command The --deployment flag requires a Gemfile.lock. Please make sure you have checked your Gemfile.lock into version control