Skip to content

Instantly share code, notes, and snippets.

@drewdeponte
Created December 15, 2011 01:08
Show Gist options
  • Select an option

  • Save drewdeponte/1479369 to your computer and use it in GitHub Desktop.

Select an option

Save drewdeponte/1479369 to your computer and use it in GitHub Desktop.
output of failing rvm cap deploy
* executing "rvm rvmrc trust /var/www/rpp_web_app/releases/20111215010614"
servers: ["db02"]
[db02] executing command
** [out :: db02] Marked /var/www/rpp_web_app/releases/20111215010614/.rvmrc as trusted
command finished in 1052ms
* executing "rvm rvmrc load /var/www/rpp_web_app/releases/20111215010614"
servers: ["db02"]
[db02] executing command
** [out :: db02] DREW: env path: /home/rpi/.rvm/environments/ruby-1.9.2-p290@rpp_web_app
** [out :: db02] DREW: whoami
** [out :: db02] rpi
** [out :: db02] DREW: env
** [out :: db02] rvm_trust_rvmrcs_flag=1
** [out :: db02] rvm_rvmrc_cwd=
** [out :: db02] rvm_gemsets_path=/home/rpi/.rvm/gemsets
** [out :: db02] rvm_scripts_path=/home/rpi/.rvm/scripts
** [out :: db02] rvm_bin_path=/home/rpi/.rvm/bin
** [out :: db02] __rvm_env_loaded=1
** [out :: db02] GEM_HOME=/home/rpi/.rvm/gems/ruby-1.9.2-p290
** [out :: db02] rvm_man_path=/home/rpi/.rvm/man
** [out :: db02] SHELL=/bin/bash
** [out :: db02] TERM=xterm
** [out :: db02] IRBRC=/home/rpi/.rvm/rubies/ruby-1.9.2-p290/.irbrc
** [out :: db02] SSH_CLIENT=67.110.253.162 53063 22
** [out :: db02] rvm_user_path=/home/rpi/.rvm/user
** [out :: db02] rvm_wrappers_path=/home/rpi/.rvm/wrappers
** [out :: db02] rvm_patches_path=/home/rpi/.rvm/patches
** [out :: db02] rvm_parse_break=1
** [out :: db02] rvm_docs_path=/home/rpi/.rvm/docs
** [out :: db02] MY_RUBY_HOME=/home/rpi/.rvm/rubies/ruby-1.9.2-p290
** [out :: db02] SSH_TTY=/dev/pts/3
** [out :: db02] USER=rpi
** [out :: db02] rvm_gems_cache_path=/home/rpi/.rvm/gems/cache
** [out :: db02] rvm_install_on_use_flag=1
** [out :: db02] __array_start=0
** [out :: db02] rvm_path=/home/rpi/.rvm
** [out :: db02] rvm_trace_flag=0
** [out :: db02] rvm_prefix=/home/rpi
** [out :: db02] rvm_examples_path=/home/rpi/.rvm/examples
** [out :: db02] PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/rpi/.rvm/bin
** [out :: db02] MAIL=/var/mail/rpi
** [out :: db02] rvm_rubies_path=/home/rpi/.rvm/rubies
** [out :: db02] rvm_loaded_flag=1
** [out :: db02] PWD=/home/rpi
** [out :: db02] next_token=load
** [out :: db02] _second=1
** [out :: db02] rvm_usr_path=/home/rpi/.rvm/usr
** [out :: db02] rvm_src_path=/home/rpi/.rvm/src
** [out :: db02] rvm_version=1.10.0
** [out :: db02] HOME=/home/rpi
** [out :: db02] SHLVL=3
** [out :: db02] rvm_gems_path=/home/rpi/.rvm/gems
** [out :: db02] rvm_tmp_path=/home/rpi/.rvm/tmp
** [out :: db02] LOGNAME=rpi
** [out :: db02] _first=0
** [out :: db02] rvm_lib_path=/home/rpi/.rvm/lib
** [out :: db02] GEM_PATH=/home/rpi/.rvm/gems/ruby-1.9.2-p290:/home/rpi/.rvm/gems/ruby-1.9.2-p290@global
** [out :: db02] SSH_CONNECTION=67.110.253.162 53063 50.56.90.122 22
** [out :: db02] rvm_repos_path=/home/rpi/.rvm/repos
** [out :: db02] rvm_log_path=/home/rpi/.rvm/log
** [out :: db02] rvm_reload_flag=0
** [out :: db02] rvm_help_path=/home/rpi/.rvm/help
** [out :: db02] rvm_environments_path=/home/rpi/.rvm/environments
** [out :: db02] rvm_archives_path=/home/rpi/.rvm/archives
** [out :: db02] RUBY_VERSION=ruby-1.9.2-p290
** [out :: db02] __rvm_project_rvmrc_lock=1
** [out :: db02] rvm_user_install_flag=1
** [out :: db02] rvm_token=rvmrc
** [out :: db02] _=/usr/bin/env
** [out :: db02] DREW: end env
** [out :: db02] DREW: somehow we are in here even though the thing exists
** [out :: db02] ruby-1.9.2-p290@rpp_web_app --trace
** [out :: db02]
** [out :: db02] rvm 1.10.0 by Wayne E. Seguin ([email protected]) [https://rvm.beginrescueend.com/]
** [out :: db02]
** [out :: db02] +++ [[ -n '' ]]
** [out :: db02] +++ export 'PS4=+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
** [out :: db02] +++ PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
** [out :: db02] +++ /scripts/cli : __rvm_parse_args() 743 > [[ -z use ]]
** [out :: db02] +++ /scripts/cli : __rvm_parse_args() 745 > [[ 0 -eq 1 ]]
** [out :: db02] +++ /scripts/cli : __rvm_parse_args() 745 > [[ -n '' ]]
** [out :: db02] +++ /scripts/cli : __rvm_parse_args() 36 > [[ -n '' ]]
** [out :: db02] +++ /scripts/cli : __rvm_parse_args() 749 > [[ 0 -gt 0 ]]
** [out :: db02] +++ /scripts/cli : __rvm_parse_args() 751 > [[ -n '' ]]
** [out :: db02] +++ /scripts/cli : rvm() 785 > result=0
** [out :: db02] +++ /scripts/cli : rvm() 787 > rvm_action=use
** [out :: db02] +++ /scripts/cli : rvm() 789 > [[ 0 -gt 0 ]]
** [out :: db02] +++ /scripts/cli : rvm() 790 > case "$rvm_action" in
** [out :: db02] +++ /scripts/cli : rvm() 792 > [[ 1 == \1 ]]
** [out :: db02] ++++ /scripts/cli : rvm() 794 > tput setaf 1
** [out :: db02] ++++ /scripts/cli : rvm() 794 > tput setaf 2
** [out :: db02] ++++ /scripts/cli : rvm() 794 > tput setaf 1
** [out :: db02] ++++ /scripts/cli : rvm() 794 > tput sgr0
** [out :: db02] +++ /scripts/cli : rvm() 794 > printf '\nRVM is not a function, selecting rubies with '\''rvm use ...'\'' will not work.\n\n'
** [out :: db02]
** [out :: db02] RVM is not a function, selecting rubies with 'rvm use ...' will not work.
** [out :: db02]
** [out :: db02] +++ /scripts/cli : rvm() 1013 > current_result=0
** [out :: db02] +++ /scripts/cli : rvm() 1014 > (( result > 0 ))
** [out :: db02] +++ /scripts/cli : rvm() 1014 > result=0
** [out :: db02] +++ /scripts/cli : rvm() 1016 > [[ 0 -eq 1 ]]
** [out :: db02] +++ /scripts/cli : rvm() 1028 > __rvm_teardown
** [out :: db02] +++ /scripts/functions/environment : __rvm_teardown() 276 > [[ -d /home/rpi/.rvm/tmp/683 ]]
** [out :: db02] +++ /scripts/functions/environment : __rvm_teardown() 281 > export __rvm_env_loaded
** [out :: db02] +++ /scripts/functions/environment : __rvm_teardown() 283 > : __rvm_env_loaded:2:
** [out :: db02] +++ /scripts/functions/environment : __rvm_teardown() 284 > : __rvm_env_loaded:2:
** [out :: db02] +++ /scripts/functions/environment : __rvm_teardown() 286 > : __rvm_env_loaded:1:
** [out :: db02] +++ /scripts/functions/environment : __rvm_teardown() 288 > [[ -z /home/rpi/.rvm/tmp ]]
** [out :: db02] +++ /scripts/functions/environment : __rvm_teardown() 288 > (( __rvm_env_loaded > 0 ))
** [out :: db02] +++ /scripts/functions/environment : __rvm_teardown() 290 > return 0
** [out :: db02] +++ /scripts/cli : rvm() 1030 > : rvm_trace_flag:1
** [out :: db02] +++ /scripts/cli : rvm() 1031 > (( rvm_trace_flag > 0 ))
** [out :: db02] +++ /scripts/cli : rvm() 1033 > set +o verbose
** [out :: db02] +++ /scripts/cli : rvm() 1034 > set +o xtrace
** [out :: db02] DREW: ran create
** [out :: db02] DREW: 0
** [out :: db02] total 12
** [out :: db02] -rw-rw-r-- 1 rpi rpi 757 Dec 14 13:04 ruby-1.9.2-p290
** [out :: db02] -rw-rw-r-- 1 rpi rpi 818 Dec 14 15:34 ruby-1.9.2-p290@foo_bar
** [out :: db02] -rw-rw-r-- 1 rpi rpi 813 Dec 14 13:04 ruby-1.9.2-p290@global
** [out :: db02] DREW: Got past the rvm create environment
** [out :: db02] /home/rpi/.rvm/scripts/override_gem: line 8: gem: command not found
** [out :: db02] /home/rpi/.rvm/scripts/override_gem: line 8: gem: command not found
** [out :: db02] /home/rpi/.rvm/scripts/override_gem: line 8: gem: command not found
** [out :: db02] /home/rpi/.rvm/scripts/override_gem: line 8: gem: command not found
command finished in 1201ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment