This repository has been archived by the owner on Feb 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
cap deploy failing with a Gemfile.lock required error #7
Comments
Hmm, don't really know but I wonder if it is related to forcing that release directory. See http://stackoverflow.com/questions/17380027/the-deployment-flag-requires-a-gemfile-lock-please-make-sure-you-have-checked regarding setting |
since I am setting the release dir manually I tried the the first suggestion and "app/Gemfile" changed nothing the second suggestion isn't applicable as the deploy_to path is already an absolute path |
Was this fixed with |
cap deploy:setup runs: kochiku@ops:~/kochiku$ cap deploy:setup
and then I ran cap deploy:cold and got the Gemfile.lock error
|
jeversmann
pushed a commit
that referenced
this issue
May 29, 2014
…master # By Rob Olson # Via Rob Olson * commit 'cd1a37d6262cdc7b000db97f5c58405f126e1aa7': MavenProjectPromotionJob: request that the cached repo be synced Rename the BranchUpdateJob to MavenProjectPromotionJob Introduce spec for BranchUpdateJob Replace usage of RemoteServer#promote_branch! in BranchUpdateJob
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I forced the deploy to use a release dir of "bear" and created the log directory just so I could get past the previous blocking point, but now I get this:
** transaction: start
updating the cached checkout on all servers
executing locally: "git ls-remote https://github.com/square/kochiku.git master"
command finished in 419ms
servers: ["localhost"]
[localhost] executing command
command finished in 1666ms
copying the cached version to /home/kochiku-web/kochiku/releases/bear
servers: ["localhost"]
[localhost] executing command
command finished in 49ms
deploy:finalize_update' triggering before callbacks for
deploy:finalize_update'servers: ["localhost"]
[localhost] executing command
command finished in 18ms
servers: ["localhost"]
[localhost] executing command
command finished in 24ms
servers: ["localhost"]
[localhost] executing command
** [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 354ms
*** [deploy:update_code] rolling back
servers: ["localhost"]
[localhost] executing command
command finished in 25ms
failed: "env PATH=/usr/local/bin:$PATH sh -c 'cd /home/kochiku-web/kochiku/releases/bear && bundle install --gemfile /home/kochiku-web/kochiku/releases/bear/Gemfile --path /home/kochiku-web/kochiku/shared/bundle --deployment --quiet --without development test'" on localhost
The text was updated successfully, but these errors were encountered: