It's telling you you didn't check in your Gemfile.lock to begin with. Make sure you didn't .gitignore Gemfile.lock
'bundle install' locally and commit the result. > On Nov 1, 2013, at 6:09 PM, Gallagher Polyn <[email protected]> wrote: > > Hi, > > Using Capistrano v2.11.2 and Ruby 2.0.0p247 and attempting cap deploy:cold, > it seems I encounter a hiccup related to some improper digestion of > Gemfile.lock. > > Here is a gist with my Capfile, deploy.rb and the readout resulting from the > command: https://gist.github.com/gpolyn/0c7d35e52c81b8b53032 > > …it seems to me that the problem is encountered here... > > [localhost] sh -c 'cd /var/massiveapp/releases/20131102003502 && bundle > install --gemfile /var/massiveapp/releases/20131102003502/Gemfile --path > /var/massiveapp/shared/bundle --deployment --quiet --without development test' > ** [out :: localhost] The --deployment flag requires a Gemfile.lock. Please > make sure you have checked > ** [out :: localhost] your Gemfile.lock into version control before > deploying. > command finished in 112ms > *** [deploy:update_code] rolling back > > …though a (possibly unrelated) failure follows later... > > failed: "sh -c 'cd /var/massiveapp/releases/20131102003502 && bundle install > --gemfile /var/massiveapp/releases/20131102003502/Gemfile --path > /var/massiveapp/shared/bundle --deployment --quiet --without development > test'" on localhost > > Thanks for any light readers can shed. > > (The foregoing was undertaken as an exercise from working through "Deploying > Rails" by Anthony Burns & Tom Copeland.) > > Gallagher > -- > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" group. > * To post to this group, send email to [email protected] > * To unsubscribe from this group, send email to > [email protected] For more options, visit this group at > http://groups.google.com/group/capistrano?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Capistrano" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en --- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
