--deployment flag requires a Gemfile.lock

126 views
Skip to first unread message

jp

unread,
May 20, 2012, 8:32:56 PM5/20/12
to Capistrano
When I try to run cap deploy:cold I get this error message.

error:

The --deployment flag requires a Gemfile.lock. Please make sure you
have checked your Gemfile.lock into version control before deploying.



Please note: I am not using rails or anything specific. I simply run
capify . & provided url for server & subversion repo.

I just want my files to be uploaded to the server.




Lee Hambley

unread,
May 21, 2012, 2:31:36 AM5/21/12
to capis...@googlegroups.com
Looks like you've enabled bundler support (maybe bundler injects support for itself). The Gemfile.lock is used by Bundler (http://gembundler.com/) to ensure that your apps dependencies are sandboxed away from other apps/etc. 

Normally this is done by requiring 'capistrano/bundler' somewhere (at least, it was the last time I looked) - you might want to check the bundler documentation for it's Capistrano integration (http://gembundler.com/deploying.html

HTH, Lee
--
* You received this message because you are subscribed to the Google Groups "Capistrano" group.
* To post to this group, send email to capis...@googlegroups.com
* To unsubscribe from this group, send email to capistrano+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en

Reply all
Reply to author
Forward
0 new messages