Create a gist now

Instantly share code, notes, and snippets.

RS deploy error
~/dev/redstamp/redstamp.com-app[master]$ cap production deploy
<snip>
triggering start callbacks for `production'
* executing `require_recipes'
triggering before callbacks for `require_recipes'
* executing `validate_required_variables'
* executing `production'
triggering start callbacks for `deploy'
* executing `multistage:ensure'
* executing `require_recipes'
triggering before callbacks for `require_recipes'
* executing `validate_required_variables'
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
triggering before callbacks for `deploy:update_code'
* executing `app:symlinks:setup'
executing locally: "git ls-remote git@github.com:redstamp/redstamp.com-app.git master"
command finished in 1256ms
* executing "git clone -q git@github.com:redstamp/redstamp.com-app.git /home/deploy/apps/redstamp/releases/20110517223632 && cd /home/deploy/apps/redstamp/releases/20110517223632 && git checkout -q -b deploy d5d3357bba44ddb907e858eeebb764aadf9e4a25 && rm -Rf /home/deploy/apps/redstamp/releases/20110517223632/.git && (echo d5d3357bba44ddb907e858eeebb764aadf9e4a25 > /home/deploy/apps/redstamp/releases/20110517223632/REVISION)"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [live.bbx.redstamp.com :: out] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [live.bbx.redstamp.com :: out] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [live.bbx.redstamp.com :: out] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [live.bbx.redstamp.com :: out] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 10969ms
* executing `deploy:finalize_update'
* executing "chmod -R g+w /home/deploy/apps/redstamp/releases/20110517223632"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 570ms
* executing "rm -rf /home/deploy/apps/redstamp/releases/20110517223632/log /home/deploy/apps/redstamp/releases/20110517223632/public/system /home/deploy/apps/redstamp/releases/20110517223632/tmp/pids &&\\\n mkdir -p /home/deploy/apps/redstamp/releases/20110517223632/public &&\\\n mkdir -p /home/deploy/apps/redstamp/releases/20110517223632/tmp &&\\\n ln -s /home/deploy/apps/redstamp/shared/log /home/deploy/apps/redstamp/releases/20110517223632/log &&\\\n ln -s /home/deploy/apps/redstamp/shared/system /home/deploy/apps/redstamp/releases/20110517223632/public/system &&\\\n ln -s /home/deploy/apps/redstamp/shared/pids /home/deploy/apps/redstamp/releases/20110517223632/tmp/pids"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 512ms
* executing "find /home/deploy/apps/redstamp/releases/20110517223632/public/images /home/deploy/apps/redstamp/releases/20110517223632/public/stylesheets /home/deploy/apps/redstamp/releases/20110517223632/public/javascripts -exec touch -t 201105172236.45 {} ';'; true"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 2701ms
* executing `after_update_code'
* executing "echo \"<html><head><title>Version</title><head><body><span style='font-size:24px'> <br/> Release Path: /home/deploy/apps/redstamp/releases/20110517223632 <br/> Last Deploy: Tue May 17 17:36:48 -0500 2011 <br/> </span></body></html>\" > /home/deploy/apps/redstamp/releases/20110517223632/public/version.html"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 495ms
* executing `deploy:symlink'
* executing "rm -f /home/deploy/apps/redstamp/current && ln -s /home/deploy/apps/redstamp/releases/20110517223632 /home/deploy/apps/redstamp/current"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 501ms
triggering after callbacks for `deploy:symlink'
* executing `app:symlinks:update'
* executing `deploy:after_symlink'
* executing "ln -nfs /home/deploy/apps/redstamp/current/REVISION /home/deploy/apps/redstamp/current/public/REV.txt"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 534ms
* executing "chmod 755 /home/deploy/apps/redstamp/current/script/*"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 511ms
* executing "chmod 750 /home/deploy/apps/redstamp/current/tmp"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 486ms
* executing "cp /home/deploy/apps/redstamp/current/config/database.example /home/deploy/apps/redstamp/current/config/database.yml"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 496ms
* executing "cp /home/deploy/apps/redstamp/shared/rvmrc /home/deploy/apps/redstamp/current/.rvmrc"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 506ms
** transaction: commit
* executing `deploy:restart'
* executing "cd /home/deploy/apps/redstamp/current && thin -C /etc/thin.yml restart"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
** [out :: live.bbx.redstamp.com] bash: thin: command not found
command finished in 552ms
failed: "env LD_LIBRARY_PATH=/usr/local/lib PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin /usr/local/bin/rvm-shell 'ruby@live-site' -c 'cd /home/deploy/apps/redstamp/current && thin -C /etc/thin.yml restart'" on live.bbx.redstamp.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment