Skip to content
This repository was archived by the owner on Feb 7, 2020. It is now read-only.
This repository was archived by the owner on Feb 7, 2020. It is now read-only.

cap deploy failing with a Gemfile.lock required error #7

@bear

Description

@bear

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:

  • 2013-09-09 08:48:26 executing `deploy:cold'
  • 2013-09-09 08:48:26 executing `deploy:update'
    ** transaction: start
  • 2013-09-09 08:48:26 executing `deploy:update_code'
    updating the cached checkout on all servers
    executing locally: "git ls-remote https://github.com/square/kochiku.git master"
    command finished in 419ms
  • executing "if [ -d /home/kochiku-web/kochiku/shared/cached-copy ]; then cd /home/kochiku-web/kochiku/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard d7c117f && git clean -q -d -x -f; else git clone -q -b master https://github.com/square/kochiku.git /home/kochiku-web/kochiku/shared/cached-copy && cd /home/kochiku-web/kochiku/shared/cached-copy && git checkout -q -b deploy d7c117f; fi"
    servers: ["localhost"]
    [localhost] executing command
    command finished in 1666ms
    copying the cached version to /home/kochiku-web/kochiku/releases/bear
  • executing "cp -RPp /home/kochiku-web/kochiku/shared/cached-copy /home/kochiku-web/kochiku/releases/bear && (echo d7c117f > /home/kochiku-web/kochiku/releases/bear/REVISION)"
    servers: ["localhost"]
    [localhost] executing command
    command finished in 49ms
  • 2013-09-09 08:48:29 executing deploy:finalize_update' triggering before callbacks fordeploy:finalize_update'
  • 2013-09-09 08:48:29 executing `deploy:assets:symlink'
  • executing "ls -x /home/kochiku-web/kochiku/releases"
    servers: ["localhost"]
    [localhost] executing command
    command finished in 18ms
  • executing "rm -rf /home/kochiku-web/kochiku/releases/bear/public/assets && mkdir -p /home/kochiku-web/kochiku/releases/bear/public && mkdir -p /home/kochiku-web/kochiku/shared/assets && ln -s /home/kochiku-web/kochiku/shared/assets /home/kochiku-web/kochiku/releases/bear/public/assets"
    servers: ["localhost"]
    [localhost] executing command
    command finished in 24ms
  • 2013-09-09 08:48:29 executing `bundle:install'
  • executing "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"
    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
  • executing "rm -rf /home/kochiku-web/kochiku/releases/bear; true"
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions