Skip to content

Instantly share code, notes, and snippets.

@DavidEGrayson
Created October 25, 2012 17:42
Show Gist options
  • Save DavidEGrayson/3954258 to your computer and use it in GitHub Desktop.
Save DavidEGrayson/3954258 to your computer and use it in GitHub Desktop.
`rvm rvmrc load` fails first time but succeeds subsequently
Reported on IRC and at: https://github.com/wayneeseguin/rvm/issues/1268
I think I have found a bug with RVM. Here is what happens:
david@rails-worker1:~$ sudo su - website
[sudo] password for david:
website@rails-worker1:~$ cd /u/apps/website/current
website@rails-worker1:/u/apps/website/current$ env > ~/env0.txt
website@rails-worker1:/u/apps/website/current$ rvm rvmrc load
Usage: rvm rvmrc {trust,untrust,trusted,load,reset,is_trusted,try_to_read_ruby,create}
website@rails-worker1:/u/apps/website/current$ env > ~/env1.txt
website@rails-worker1:/u/apps/website/current$ rvm rvmrc load
website@rails-worker1:/u/apps/website/current$ rvm rvmrc load
website@rails-worker1:/u/apps/website/current$ ```
The "env" commands above are NOT necessary for producing it, but I ran them so
I could give some additional information about my environment variables in this
bug report.
The basic specs of my setup are:
- Linux
- Ubuntu 12.04.1 LTS
- Multi-user install of RVM
- In /etc/rvmrc, we set rvm_project_rvmrc=0 to 0 to turn off auto-loading of .rvmrc files.
I ran `type rvm | head -1` and verified that rvm is a function.
rvm 1.8.7@system2 --create
rvm_bin_path=/usr/local/rvm/bin
GEM_HOME=/usr/local/rvm/gems/ruby-1.8.7-p371
SHELL=/bin/bash
TERM=xterm
IRBRC=/usr/local/rvm/rubies/ruby-1.8.7-p371/.irbrc
OLDPWD=/home/website
MY_RUBY_HOME=/usr/local/rvm/rubies/ruby-1.8.7-p371
USER=website
__array_start=0
rvm_path=/usr/local/rvm
escape_flag=1
rvm_prefix=/usr/local
MAIL=/var/mail/website
PATH=/usr/local/rvm/gems/ruby-1.8.7-p371/bin:/usr/local/rvm/gems/ruby-1.8.7-p371@global/bin:/usr/local/rvm/rubies/ruby-1.8.7-p371/bin:/usr/local/rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
PWD=/u/apps/website/current
LANG=en_US.UTF-8
_second=1
rvm_env_string=ruby-1.8.7-p371
rvm_version=1.16.17 (master)
SHLVL=1
HOME=/home/website
rvm_ruby_string=ruby-1.8.7-p371
_first=0
LOGNAME=website
GEM_PATH=/usr/local/rvm/gems/ruby-1.8.7-p371:/usr/local/rvm/gems/ruby-1.8.7-p371@global
RUBY_VERSION=ruby-1.8.7-p371
_=/usr/bin/env
rvm_bin_path=/usr/local/rvm/bin
GEM_HOME=/usr/local/rvm/gems/ruby-1.8.7-p371
SHELL=/bin/bash
TERM=xterm
IRBRC=/usr/local/rvm/rubies/ruby-1.8.7-p371/.irbrc
OLDPWD=/home/website
MY_RUBY_HOME=/usr/local/rvm/rubies/ruby-1.8.7-p371
USER=website
__array_start=0
rvm_path=/usr/local/rvm
rvm_prefix=/usr/local
MAIL=/var/mail/website
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/rvm/bin
PWD=/u/apps/website/current
LANG=en_US.UTF-8
_second=1
rvm_version=1.16.17 (master)
SHLVL=1
HOME=/home/website
rvm_ruby_string=1.8.7@system2
_first=0
LOGNAME=website
GEM_PATH=/usr/local/rvm/gems/ruby-1.8.7-p371:/usr/local/rvm/gems/ruby-1.8.7-p371@global
RUBY_VERSION=ruby-1.8.7-p371
_=/usr/bin/env
ruby-1.8.7-p371:
rvm 1.16.17 (master) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
ruby-1.8.7-p371:
system:
uname: "Linux rails-worker1 3.2.0-32-generic-pae #51-Ubuntu SMP Wed Sep 26 21:54:23 UTC 2012 i686 i686 i386 GNU/Linux"
system: "ubuntu/12.04/i386"
bash: "/bin/bash => GNU bash, version 4.2.24(1)-release (i686-pc-linux-gnu)"
zsh: " => not installed"
rvm:
version: "rvm 1.16.17 (master) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
updated: "44 minutes 27 seconds ago"
ruby:
interpreter: "ruby"
version: "1.8.7"
date: "2012-10-12"
platform: "i686-linux"
patchlevel: "2012-10-12 patchlevel 371"
full_version: "ruby 1.8.7 (2012-10-12 patchlevel 371) [i686-linux]"
homes:
gem: "/usr/local/rvm/gems/ruby-1.8.7-p371"
ruby: "/usr/local/rvm/rubies/ruby-1.8.7-p371"
binaries:
ruby: "/usr/local/rvm/rubies/ruby-1.8.7-p371/bin/ruby"
irb: "/usr/local/rvm/rubies/ruby-1.8.7-p371/bin/irb"
gem: "/usr/local/rvm/rubies/ruby-1.8.7-p371/bin/gem"
rake: "/usr/local/rvm/gems/ruby-1.8.7-p371@global/bin/rake"
environment:
PATH: "/usr/local/rvm/gems/ruby-1.8.7-p371/bin:/usr/local/rvm/gems/ruby-1.8.7-p371@global/bin:/usr/local/rvm/rubies/ruby-1.8.7-p371/bin:/usr/local/rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
GEM_HOME: "/usr/local/rvm/gems/ruby-1.8.7-p371"
GEM_PATH: "/usr/local/rvm/gems/ruby-1.8.7-p371:/usr/local/rvm/gems/ruby-1.8.7-p371@global"
MY_RUBY_HOME: "/usr/local/rvm/rubies/ruby-1.8.7-p371"
IRBRC: "/usr/local/rvm/rubies/ruby-1.8.7-p371/.irbrc"
RUBYOPT: ""
gemset: ""
PATH:
/usr/local/rvm/gems/ruby-1.8.7-p371/bin:/usr/local/rvm/gems/ruby-1.8.7-p371@global/bin:/usr/local/rvm/rubies/ruby-1.8.7-p371/bin:/usr/local/rvm/bin:/usr/local/bin
uname -a: Linux rails-worker1 3.2.0-32-generic-pae #51-Ubuntu SMP Wed Sep 26 21:54:23 UTC 2012 i686 i686 i386 GNU/Linux
permissions: /usr/local/rvm:
total 120
drwxrwsr-x 23 root rvm 4096 Oct 25 10:16 .
drwxr-xr-x 11 root root 4096 Oct 24 17:23 ..
drwxrwsr-x 2 root rvm 4096 Oct 25 10:08 archives
drwxrwsr-x 2 root rvm 4096 Oct 25 10:16 bin
drwxrwsr-x 2 root rvm 4096 Oct 25 10:16 config
drwxrwsr-x 3 root rvm 4096 Oct 24 17:23 contrib
drwxrwsr-x 2 root rvm 4096 Oct 24 17:30 environments
drwxrwsr-x 2 root rvm 4096 Oct 24 17:23 examples
drwxrwsr-x 6 root rvm 4096 Oct 24 17:30 gems
drwxrwsr-x 3 david rvm 4096 Oct 25 10:16 gemsets
drwxrwsr-x 2 root rvm 4096 Oct 24 17:23 help
drwxrwsr-x 2 root rvm 4096 Oct 24 17:23 hooks
-rw-rw-r-- 1 root rvm 11 Oct 25 10:16 installed.at
drwxrwsr-x 3 root rvm 4096 Oct 24 17:23 lib
-rw-rw-r-- 1 root rvm 566 Oct 25 10:16 LICENCE
drwxrwsr-x 3 root rvm 4096 Oct 24 17:26 log
drwxrwsr-x 2 root rvm 4096 Oct 24 17:23 man
drwxrwsr-x 9 root rvm 4096 Oct 24 17:23 patches
drwxrwsr-x 4 david rvm 4096 Oct 25 10:16 patchsets
-rw-rw-r-- 1 root rvm 8677 Oct 25 10:16 README
-rw-rw-r-- 1 root rvm 7 Oct 25 10:16 RELEASE
drwxrwsr-x 3 root rvm 4096 Oct 24 17:28 rubies
drwxrwsr-x 5 root rvm 4096 Oct 24 17:23 scripts
drwxrwsr-x 5 root rvm 4096 Oct 24 17:27 src
drwxrwsr-x 2 root rvm 4096 Oct 24 17:26 tmp
drwxrwsr-x 2 root rvm 4096 Oct 25 10:16 user
-rw-rw-r-- 1 root rvm 8 Oct 25 10:16 VERSION
drwxrwsr-x 5 root rvm 4096 Oct 24 17:30 wrappers
/usr/local/rvm/rubies:
total 12
drwxrwsr-x 3 root rvm 4096 Oct 24 17:28 .
drwxrwsr-x 23 root rvm 4096 Oct 25 10:16 ..
lrwxrwxrwx 1 david rvm 37 Oct 24 17:28 default -> /usr/local/rvm/rubies/ruby-1.8.7-p371
drwxr-xr-x 5 david rvm 4096 Oct 24 17:28 ruby-1.8.7-p371
/home/website/.bashrc:
PATH=$PATH:/usr/local/rvm/bin # Add RVM to PATH for scripting
/home/website/.bash_profile:
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "/usr/local/rvm/scripts/rvm" # Load RVM into a shell session *as a function*
/usr/local/rvm/config/alias \(filtered\):
default=ruby-1.8.7-p371
/usr/local/rvm/config/db \(filtered\):
#General
niceness=0
# Rubies
interpreter=ruby
ruby_version=1.9.3
ruby_configure_flags=--enable-shared --disable-install-doc
ruby_patchlevel=286
ruby_configure=--enable-shared
tcs_repo_url=git://github.com/thecodeshop/ruby.git
tcs_repo_branch=trunk
ruby_repo_url=git://github.com/ruby/ruby.git
ruby_1.0_url=http://ftp.ruby-lang.org/pub/ruby/1.0
ruby_1.2_url=http://ftp.ruby-lang.org/pub/ruby/1.2
ruby_1.3_url=http://ftp.ruby-lang.org/pub/ruby/1.3
ruby_1.4_url=http://ftp.ruby-lang.org/pub/ruby/1.4
ruby_1.5_url=http://ftp.ruby-lang.org/pub/ruby/1.5
ruby_1.6_url=http://ftp.ruby-lang.org/pub/ruby/1.6
ruby_1.7_url=http://ftp.ruby-lang.org/pub/ruby/1.7
ruby_1.8_url=http://ftp.ruby-lang.org/pub/ruby/1.8
ruby_1.9_url=http://ftp.ruby-lang.org/pub/ruby/1.9
ruby_2.0_url=http://ftp.ruby-lang.org/pub/ruby/2.0
ruby_1.9.3_patch_level=286
ruby_1.9.2_patch_level=320
ruby_1.9.1_patch_level=431
ruby_1.8.7_patch_level=371
ruby_1.8.6_patch_level=420
ruby_1.8.5_patch_level=231
rubygems_url=http://production.cf.rubygems.org/rubygems
rubygems_repo_url=git://github.com/rubygems/rubygems.git
rubygems_version=latest-1.8
# ruby_1.9.3_head_rubygems_version=1.8.5
rbx_version=head
rbx_1.0.0_patch_level=20100514
rbx_1.0.1_patch_level=20100603
rbx_1.1.0_patch_level=20100923
rbx_1.1.1_patch_level=20101116
rbx_1.2.0_patch_level=20101221
rbx_1.2.1_patch_level=20110215
rbx_1.2.2_patch_level=20110222
rbx_1.2.3_patch_level=20110315
rbx_1.2.4_patch_level=20110705
rbx_url=http://asset.rubini.us
rubinius_repo_url=git://github.com/rubinius/rubinius.git
ree_version=1.8.7
ree_configure_flags=--dont-install-useful-gems --no-dev-docs
ree_1.8.6_patch_level=20090610
ree_1.8.6_url=http://rubyforge.org/frs/download.php/58677
ree_1.8.6_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition.git
ree_1.8.7_url=http://rubyenterpriseedition.googlecode.com/files
ree_1.8.7_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition187-330
ree_1.8.7_patch_level=2012.02
ree_1.8.7_2010.02_url=http://rubyforge.org/frs/download.php/71096
kiji_repo_url=git://github.com/twitter/rubyenterpriseedition187-248.git
kiji_version=head
jruby_version=1.7.0
jruby_repo_url=git://github.com/jruby/jruby.git
jruby_url=http://jruby.org.s3.amazonaws.com/downloads
macruby_version=0.12
macruby_nightly_version=0.13
macruby_0.10_url=http://macruby.macosforge.org/files
macruby_url=https://github.com/downloads/MacRuby/MacRuby
macruby_repo_url=git://github.com/MacRuby/MacRuby.git
macruby_nightly_url=http://macruby.macosforge.org/files/nightlies/macruby_nightly-latest.pkg
maglev_version=head
maglev_url=http://glass-downloads.gemstone.com/maglev
maglev_repo_url=git://github.com/MagLev/maglev.git
ironruby_version=1.0
ironruby_repo_url=git://github.com/ironruby/ironruby.git
ironruby_1.0_url=http://rubyforge.org/frs/download.php/70179/
rvm_remote_server_url=https://rvm.io/binaries
# rvm_remote_server_path=gentoo/ec2-2013.09/amd64
# Packages
readline_url=http://ftp.gnu.org/gnu/readline
libiconv_url=http://ftp.gnu.org/pub/gnu/libiconv
curl_url=http://curl.haxx.se/download
openssl_url=http://www.openssl.org/source
openssl_version=1.0.1c
zlib_url=http://prdownloads.sourceforge.net/libpng
autoconf_url=http://ftp.gnu.org/gnu/autoconf
ncurses_url=http://ftp.gnu.org/pub/gnu/ncurses
pkg-config_url=http://pkgconfig.freedesktop.org/releases
gettext_url=http://ftp.gnu.org/pub/gnu/gettext
libxml2_url=ftp://xmlsoft.org/libxml2
libxslt_url=ftp://xmlsoft.org/libxslt
yaml_url=https://rvm.io/src
glib_url=http://ftp.gnome.org/pub/gnome/sources/glib/2.23
mono_url=http://ftp.novell.com/pub/mono/sources/mono
llvm_url=https://llvm.org/svn/llvm-project/llvm/trunk
/etc/rvmrc \(filtered\):
rvm_project_rvmrc=0
umask u=rwx,g=rwx,o=rx
gem sources:
http://rubygems.org/
+ [[ -n '' ]]
+ set -o errtrace
+ export 'PS4=+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+ PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+ /scripts/cli : __rvm_parse_args() 673 > [[ -z '' ]]
+ /scripts/cli : __rvm_parse_args() 673 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 676 > [[ error == '' ]]
+ /scripts/cli : __rvm_parse_args() 676 > [[ 0 -eq 1 ]]
+ /scripts/cli : __rvm_parse_args() 676 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 15 > [[ -n rvmrc ]]
+ /scripts/cli : __rvm_parse_args() 17 > rvm_token=rvmrc
+ /scripts/cli : __rvm_parse_args() 19 > (( 1 > 0 ))
+ /scripts/cli : __rvm_parse_args() 21 > next_token=load
+ /scripts/cli : __rvm_parse_args() 22 > shift
+ /scripts/cli : __rvm_parse_args() 75 > case "$rvm_token" in
+ /scripts/cli : __rvm_parse_args() 78 > case "$rvm_token" in
+ /scripts/cli : __rvm_parse_args() 222 > case "$rvm_token" in
+ /scripts/cli : __rvm_parse_args() 178 > rvm_action=rvmrc
+ /scripts/cli : __rvm_parse_args() 180 > rvm_ruby_args=()
+ /scripts/cli : __rvm_parse_args() 181 > __rvm_parse_args_find_known_flags rvm_ruby_args load
+ /scripts/cli : __rvm_parse_args_find_known_flags() 1 > typeset _args_array_name _temp_var
+ /scripts/cli : __rvm_parse_args_find_known_flags() 2 > typeset -a _new_args
+ /scripts/cli : __rvm_parse_args_find_known_flags() 3 > _args_array_name=rvm_ruby_args
+ /scripts/cli : __rvm_parse_args_find_known_flags() 4 > (( 2 == 0 ))
+ /scripts/cli : __rvm_parse_args_find_known_flags() 4 > shift
+ /scripts/cli : __rvm_parse_args_find_known_flags() 5 > _new_args=()
+ /scripts/cli : __rvm_parse_args_find_known_flags() 7 > (( 1 ))
+ /scripts/cli : __rvm_parse_args_find_known_flags() 22 > case "$1" in
+ /scripts/cli : __rvm_parse_args_find_known_flags() 26 > _new_args+=("$1")
+ /scripts/cli : __rvm_parse_args_find_known_flags() 29 > (( 1 == 0 ))
+ /scripts/cli : __rvm_parse_args_find_known_flags() 29 > shift
+ /scripts/cli : __rvm_parse_args_find_known_flags() 7 > (( 0 ))
+ /scripts/cli : __rvm_parse_args_find_known_flags() 31 > eval 'rvm_ruby_args+=( "${_new_args[@]}" )'
++ /scripts/cli : __rvm_parse_args_find_known_flags() 18 > rvm_ruby_args+=("${_new_args[@]}")
+ /scripts/cli : __rvm_parse_args() 217 > rvm_parse_break=1
+ /scripts/cli : __rvm_parse_args() 708 > [[ -z rvmrc ]]
+ /scripts/cli : __rvm_parse_args() 711 > [[ error == \r\v\m\r\c ]]
+ /scripts/cli : __rvm_parse_args() 711 > [[ 1 -eq 1 ]]
+ /scripts/cli : __rvm_parse_args() 712 > break
+ /scripts/cli : __rvm_parse_args() 716 > : rvm_ruby_args:1:load:
+ /scripts/cli : __rvm_parse_args() 718 > [[ -n '' ]]
+ /scripts/cli : rvm() 806 > (( rvm_trace_flag == 0 ))
+ /scripts/cli : rvm() 808 > export PS4
+ /scripts/cli : rvm() 809 > [[ -n '' ]]
+ /scripts/cli : rvm() 811 > PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+ /scripts/cli : rvm() 813 > set -x
+ /scripts/cli : rvm() 815 > result=0
+ /scripts/cli : rvm() 816 > : rvm_ruby_args:1:load:
+ /scripts/cli : rvm() 818 > (( result ))
+ /scripts/cli : rvm() 832 > case "${rvm_action:=usage}" in
+ /scripts/cli : rvm() 918 > __rvm_rvmrc_tools load
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 1 > export escape_flag
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 2 > typeset rvmrc_action rvmrc_path saveIFS trust rvmrc_ruby
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 4 > escape_flag=1
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 6 > rvmrc_action=load
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 7 > (( 1 ))
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 7 > shift
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 10 > [[ load == \c\r\e\a\t\e ]]
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 15 > [[ '' == \a\l\l ]]
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 19 > [[ -n '' ]]
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 21 > rvmrc_path=/u/apps/website/current
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -150 > chpwd_functions=
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -150 > builtin cd /u/apps/website/current
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -150 > pwd
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 23 > rvmrc_path=/u/apps/website/current
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 25 > (( 0 ))
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 25 > true
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 28 > (( 0 ))
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 32 > __rvm_project_dir_check /u/apps/website/current rvmrc_path /u/apps/website/current/.rvmrc
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 1 > typeset _found_file path_to_check variable variable_default
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 2 > typeset -a _valid_files
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 3 > path_to_check=/u/apps/website/current
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 4 > variable=rvmrc_path
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 5 > variable_default=/u/apps/website/current/.rvmrc
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 10 > _valid_files=("$path_to_check" "$path_to_check/.rvmrc" "$path_to_check/.versions.conf" "$path_to_check/.ruby-version" "$path_to_check/.rbfu-version" "$path_to_check/.rbenv-version" "$path_to_check/Gemfile")
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 12 > __rvm_find_first_file _found_file /u/apps/website/current /u/apps/website/current/.rvmrc /u/apps/website/current/.versions.conf /u/apps/website/current/.ruby-version /u/apps/website/current/.rbfu-version /u/apps/website/current/.rbenv-version /u/apps/website/current/Gemfile
+ /scripts/functions/utility : __rvm_find_first_file() 1 > typeset _first_file _variable_first_file __file_enum
+ /scripts/functions/utility : __rvm_find_first_file() 2 > _first_file=
+ /scripts/functions/utility : __rvm_find_first_file() 3 > _variable_first_file=_found_file
+ /scripts/functions/utility : __rvm_find_first_file() 4 > shift
+ /scripts/functions/utility : __rvm_find_first_file() 377 > for __file_enum in '"$@"'
+ /scripts/functions/utility : __rvm_find_first_file() 9 > [[ -f /u/apps/website/current ]]
+ /scripts/functions/utility : __rvm_find_first_file() 377 > for __file_enum in '"$@"'
+ /scripts/functions/utility : __rvm_find_first_file() 9 > [[ -f /u/apps/website/current/.rvmrc ]]
+ /scripts/functions/utility : __rvm_find_first_file() 11 > eval '_found_file="$__file_enum"'
++ /scripts/functions/utility : __rvm_find_first_file() -360 > _found_file=/u/apps/website/current/.rvmrc
+ /scripts/functions/utility : __rvm_find_first_file() 12 > return 0
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 378 > [[ .rvmrc == \G\e\m\f\i\l\e ]]
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 387 > [[ -n rvmrc_path ]]
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 388 > eval 'rvmrc_path="${_found_file:-/u/apps/website/current/.rvmrc}"'
++ /scripts/functions/rvmrc : __rvm_project_dir_check() 17 > rvmrc_path=/u/apps/website/current/.rvmrc
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 391 > [[ -n /u/apps/website/current/.rvmrc ]]
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 186 > case "$rvmrc_action" in
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -143 > rvm_rvmrc_cwd=
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -143 > rvm_trust_rvmrcs_flag=1
+ /scripts/functions/rvmrc : __rvm_rvmrc_tools() -143 > __rvm_project_rvmrc /u/apps/website/current/.rvmrc
+ /scripts/functions/rvmrc : __rvm_project_rvmrc() 1 > export __rvm_project_rvmrc_lock
+ /scripts/functions/rvmrc : __rvm_project_rvmrc() 2 > : __rvm_project_rvmrc_lock:0
+ /scripts/functions/rvmrc : __rvm_project_rvmrc() 3 > : __rvm_project_rvmrc_lock:1
+ /scripts/functions/rvmrc : __rvm_project_rvmrc() 4 > (( __rvm_project_rvmrc_lock > 1 ))
+ /scripts/functions/rvmrc : __rvm_project_rvmrc() 8 > typeset working_dir found_file rvm_trustworthiness_result
+ /scripts/functions/rvmrc : __rvm_project_rvmrc() 11 > working_dir=/u/apps/website/current/.rvmrc
+ /scripts/functions/rvmrc : __rvm_project_rvmrc() 13 > :
+ /scripts/functions/rvmrc : __rvm_project_rvmrc() 16 > [[ -z /u/apps/website/current/.rvmrc ]]
+ /scripts/functions/rvmrc : __rvm_project_rvmrc() 16 > [[ /home/website == \/\u\/\a\p\p\s\/\w\e\b\s\i\t\e\/\c\u\r\r\e\n\t\/\.\r\v\m\r\c ]]
+ /scripts/functions/rvmrc : __rvm_project_rvmrc() 16 > [[ /usr/local == \/\u\/\a\p\p\s\/\w\e\b\s\i\t\e\/\c\u\r\r\e\n\t\/\.\r\v\m\r\c ]]
+ /scripts/functions/rvmrc : __rvm_project_rvmrc() 16 > [[ / == \/\u\/\a\p\p\s\/\w\e\b\s\i\t\e\/\c\u\r\r\e\n\t\/\.\r\v\m\r\c ]]
+ /scripts/functions/rvmrc : __rvm_project_rvmrc() 37 > __rvm_project_dir_check /u/apps/website/current/.rvmrc found_file
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 1 > typeset _found_file path_to_check variable variable_default
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 2 > typeset -a _valid_files
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 3 > path_to_check=/u/apps/website/current/.rvmrc
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 4 > variable=found_file
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 5 > variable_default=
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 10 > _valid_files=("$path_to_check" "$path_to_check/.rvmrc" "$path_to_check/.versions.conf" "$path_to_check/.ruby-version" "$path_to_check/.rbfu-version" "$path_to_check/.rbenv-version" "$path_to_check/Gemfile")
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 12 > __rvm_find_first_file _found_file /u/apps/website/current/.rvmrc /u/apps/website/current/.rvmrc/.rvmrc /u/apps/website/current/.rvmrc/.versions.conf /u/apps/website/current/.rvmrc/.ruby-version /u/apps/website/current/.rvmrc/.rbfu-version /u/apps/website/current/.rvmrc/.rbenv-version /u/apps/website/current/.rvmrc/Gemfile
+ /scripts/functions/utility : __rvm_find_first_file() 1 > typeset _first_file _variable_first_file __file_enum
+ /scripts/functions/utility : __rvm_find_first_file() 2 > _first_file=
+ /scripts/functions/utility : __rvm_find_first_file() 3 > _variable_first_file=_found_file
+ /scripts/functions/utility : __rvm_find_first_file() 4 > shift
+ /scripts/functions/utility : __rvm_find_first_file() 377 > for __file_enum in '"$@"'
+ /scripts/functions/utility : __rvm_find_first_file() 9 > [[ -f /u/apps/website/current/.rvmrc ]]
+ /scripts/functions/utility : __rvm_find_first_file() 11 > eval '_found_file="$__file_enum"'
++ /scripts/functions/utility : __rvm_find_first_file() -360 > _found_file=/u/apps/website/current/.rvmrc
+ /scripts/functions/utility : __rvm_find_first_file() 12 > return 0
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 378 > [[ .rvmrc == \G\e\m\f\i\l\e ]]
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 387 > [[ -n found_file ]]
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 388 > eval 'found_file="${_found_file:-}"'
++ /scripts/functions/rvmrc : __rvm_project_dir_check() 17 > found_file=/u/apps/website/current/.rvmrc
+ /scripts/functions/rvmrc : __rvm_project_dir_check() 391 > [[ -n /u/apps/website/current/.rvmrc ]]
+ /scripts/functions/rvmrc : __rvm_project_rvmrc() 72 > [[ '' != \/\u\/\a\p\p\s\/\w\e\b\s\i\t\e\/\c\u\r\r\e\n\t\/\.\r\v\m\r\c ]]
+ /scripts/functions/rvmrc : __rvm_project_rvmrc() 74 > __rvm_conditionally_do_with_env __rvm_load_project_config /u/apps/website/current/.rvmrc
+ /scripts/functions/environment : __rvm_conditionally_do_with_env() 1 > (( __rvm_env_loaded > 0 ))
+ /scripts/functions/environment : __rvm_conditionally_do_with_env() 3 > __rvm_load_project_config /u/apps/website/current/.rvmrc
+ /scripts/functions/rvmrc : __rvm_load_project_config() 1 > typeset __gemfile
+ /scripts/functions/rvmrc : __rvm_load_project_config() 2 > : rvm_autoinstall_bundler_flag:0
+ /scripts/functions/rvmrc : __rvm_load_project_config() 467 > case "$1" in
+ /scripts/functions/rvmrc : __rvm_load_project_config() 5 > __rvm_check_rvmrc_trustworthiness /u/apps/website/current/.rvmrc
+ /scripts/functions/rvmrc : __rvm_check_rvmrc_trustworthiness() 1 > typeset saveIFS trust result
+ /scripts/functions/rvmrc : __rvm_check_rvmrc_trustworthiness() 3 > [[ -n /u/apps/website/current/.rvmrc ]]
+ /scripts/functions/rvmrc : __rvm_check_rvmrc_trustworthiness() 3 > [[ 1 == 0 ]]
+ /scripts/functions/rvmrc : __rvm_check_rvmrc_trustworthiness() 18 > result=0
+ /scripts/functions/rvmrc : __rvm_check_rvmrc_trustworthiness() 19 > unset escape_flag
+ /scripts/functions/rvmrc : __rvm_check_rvmrc_trustworthiness() 20 > return 0
+ /scripts/functions/rvmrc : __rvm_load_project_config() 192 > __rvm_remove_rvm_from_path
+ /scripts/functions/env : __rvm_remove_rvm_from_path() 1 > typeset local_rvm_path
+ /scripts/functions/env : __rvm_remove_rvm_from_path() 2 > __rvm_remove_from_path '/usr/local/rvm/*'
+ /scripts/functions/utility : __rvm_remove_from_path() 1 > export PATH
+ /scripts/functions/utility : __rvm_remove_from_path() 2 > typeset -a _path
+ /scripts/functions/utility : __rvm_remove_from_path() 3 > _path=()
+ /scripts/functions/utility : __rvm_remove_from_path() 4 > __rvm_custom_separated_array _path : /usr/local/rvm/gems/ruby-1.8.7-p371/bin:/usr/local/rvm/gems/ruby-1.8.7-p371@global/bin:/usr/local/rvm/rubies/ruby-1.8.7-p371/bin:/usr/local/rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ /scripts/functions/utility : __rvm_custom_separated_array() 1 > typeset IFS
+ /scripts/functions/utility : __rvm_custom_separated_array() 2 > IFS=:
+ /scripts/functions/utility : __rvm_custom_separated_array() 3 > [[ -n '' ]]
+ /scripts/functions/utility : __rvm_custom_separated_array() 5 > eval '_path+=( $3 )'
++ /scripts/functions/utility : __rvm_custom_separated_array() -334 > _path+=($3)
+ /scripts/functions/utility : __rvm_remove_from_path() -143 > __rvm_remove_from_array _path '/usr/local/rvm/*' /usr/local/rvm/gems/ruby-1.8.7-p371/bin /usr/local/rvm/gems/ruby-1.8.7-p371@global/bin /usr/local/rvm/rubies/ruby-1.8.7-p371/bin /usr/local/rvm/bin /usr/local/bin /usr/bin /bin /usr/local/games /usr/games
+ /scripts/functions/utility : __rvm_remove_from_array() 1 > typeset _array_name _search _iterator
+ /scripts/functions/utility : __rvm_remove_from_array() 2 > typeset -a _temp_array
+ /scripts/functions/utility : __rvm_remove_from_array() 3 > _array_name=_path
+ /scripts/functions/utility : __rvm_remove_from_array() 4 > _search='/usr/local/rvm/*'
+ /scripts/functions/utility : __rvm_remove_from_array() 5 > shift 2
+ /scripts/functions/utility : __rvm_remove_from_array() 6 > _temp_array=()
+ /scripts/functions/utility : __rvm_remove_from_array() 356 > for _iterator in '"$@"'
+ /scripts/functions/utility : __rvm_remove_from_array() 9 > __rvm_string_match /usr/local/rvm/gems/ruby-1.8.7-p371/bin '/usr/local/rvm/*'
+ /scripts/functions/support : __rvm_string_match() 1 > typeset _string
+ /scripts/functions/support : __rvm_string_match() 2 > _string=/usr/local/rvm/gems/ruby-1.8.7-p371/bin
+ /scripts/functions/support : __rvm_string_match() 3 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 1 ))
+ /scripts/functions/support : __rvm_string_match() 48 > case "${_string}" in
+ /scripts/functions/support : __rvm_string_match() 7 > return 0
+ /scripts/functions/utility : __rvm_remove_from_array() 356 > for _iterator in '"$@"'
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > __rvm_string_match /usr/local/rvm/gems/ruby-1.8.7-p371@global/bin '/usr/local/rvm/*'
+ /scripts/functions/support : __rvm_string_match() 1 > typeset _string
+ /scripts/functions/support : __rvm_string_match() 2 > _string=/usr/local/rvm/gems/ruby-1.8.7-p371@global/bin
+ /scripts/functions/support : __rvm_string_match() 3 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 1 ))
+ /scripts/functions/support : __rvm_string_match() 48 > case "${_string}" in
+ /scripts/functions/support : __rvm_string_match() 7 > return 0
+ /scripts/functions/utility : __rvm_remove_from_array() 356 > for _iterator in '"$@"'
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > __rvm_string_match /usr/local/rvm/rubies/ruby-1.8.7-p371/bin '/usr/local/rvm/*'
+ /scripts/functions/support : __rvm_string_match() 1 > typeset _string
+ /scripts/functions/support : __rvm_string_match() 2 > _string=/usr/local/rvm/rubies/ruby-1.8.7-p371/bin
+ /scripts/functions/support : __rvm_string_match() 3 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 1 ))
+ /scripts/functions/support : __rvm_string_match() 48 > case "${_string}" in
+ /scripts/functions/support : __rvm_string_match() 7 > return 0
+ /scripts/functions/utility : __rvm_remove_from_array() 356 > for _iterator in '"$@"'
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > __rvm_string_match /usr/local/rvm/bin '/usr/local/rvm/*'
+ /scripts/functions/support : __rvm_string_match() 1 > typeset _string
+ /scripts/functions/support : __rvm_string_match() 2 > _string=/usr/local/rvm/bin
+ /scripts/functions/support : __rvm_string_match() 3 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 1 ))
+ /scripts/functions/support : __rvm_string_match() 48 > case "${_string}" in
+ /scripts/functions/support : __rvm_string_match() 7 > return 0
+ /scripts/functions/utility : __rvm_remove_from_array() 356 > for _iterator in '"$@"'
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > __rvm_string_match /usr/local/bin '/usr/local/rvm/*'
+ /scripts/functions/support : __rvm_string_match() 1 > typeset _string
+ /scripts/functions/support : __rvm_string_match() 2 > _string=/usr/local/bin
+ /scripts/functions/support : __rvm_string_match() 3 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 1 ))
+ /scripts/functions/support : __rvm_string_match() 48 > case "${_string}" in
+ /scripts/functions/support : __rvm_string_match() 9 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 0 ))
+ /scripts/functions/support : __rvm_string_match() 11 > return 1
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > _temp_array+=("$_iterator")
+ /scripts/functions/utility : __rvm_remove_from_array() 356 > for _iterator in '"$@"'
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > __rvm_string_match /usr/bin '/usr/local/rvm/*'
+ /scripts/functions/support : __rvm_string_match() 1 > typeset _string
+ /scripts/functions/support : __rvm_string_match() 2 > _string=/usr/bin
+ /scripts/functions/support : __rvm_string_match() 3 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 1 ))
+ /scripts/functions/support : __rvm_string_match() 48 > case "${_string}" in
+ /scripts/functions/support : __rvm_string_match() 9 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 0 ))
+ /scripts/functions/support : __rvm_string_match() 11 > return 1
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > _temp_array+=("$_iterator")
+ /scripts/functions/utility : __rvm_remove_from_array() 356 > for _iterator in '"$@"'
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > __rvm_string_match /bin '/usr/local/rvm/*'
+ /scripts/functions/support : __rvm_string_match() 1 > typeset _string
+ /scripts/functions/support : __rvm_string_match() 2 > _string=/bin
+ /scripts/functions/support : __rvm_string_match() 3 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 1 ))
+ /scripts/functions/support : __rvm_string_match() 48 > case "${_string}" in
+ /scripts/functions/support : __rvm_string_match() 9 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 0 ))
+ /scripts/functions/support : __rvm_string_match() 11 > return 1
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > _temp_array+=("$_iterator")
+ /scripts/functions/utility : __rvm_remove_from_array() 356 > for _iterator in '"$@"'
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > __rvm_string_match /usr/local/games '/usr/local/rvm/*'
+ /scripts/functions/support : __rvm_string_match() 1 > typeset _string
+ /scripts/functions/support : __rvm_string_match() 2 > _string=/usr/local/games
+ /scripts/functions/support : __rvm_string_match() 3 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 1 ))
+ /scripts/functions/support : __rvm_string_match() 48 > case "${_string}" in
+ /scripts/functions/support : __rvm_string_match() 9 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 0 ))
+ /scripts/functions/support : __rvm_string_match() 11 > return 1
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > _temp_array+=("$_iterator")
+ /scripts/functions/utility : __rvm_remove_from_array() 356 > for _iterator in '"$@"'
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > __rvm_string_match /usr/games '/usr/local/rvm/*'
+ /scripts/functions/support : __rvm_string_match() 1 > typeset _string
+ /scripts/functions/support : __rvm_string_match() 2 > _string=/usr/games
+ /scripts/functions/support : __rvm_string_match() 3 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 1 ))
+ /scripts/functions/support : __rvm_string_match() 48 > case "${_string}" in
+ /scripts/functions/support : __rvm_string_match() 9 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 0 ))
+ /scripts/functions/support : __rvm_string_match() 11 > return 1
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > _temp_array+=("$_iterator")
+ /scripts/functions/utility : __rvm_remove_from_array() 318 > eval '_path=( "${_temp_array[@]}" )'
++ /scripts/functions/utility : __rvm_remove_from_array() 276 > _path=("${_temp_array[@]}")
+ /scripts/functions/utility : __rvm_remove_from_path() 155 > __rvm_join_array PATH : _path
+ /scripts/functions/utility : __rvm_join_array() 1 > typeset IFS
+ /scripts/functions/utility : __rvm_join_array() 2 > IFS=:
+ /scripts/functions/utility : __rvm_join_array() 3 > eval 'PATH="${_path[*]}"'
++ /scripts/functions/utility : __rvm_join_array() -361 > PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ /scripts/functions/env : __rvm_remove_rvm_from_path() -216 > __rvm_remove_from_path /usr/local/rvm/bin
+ /scripts/functions/utility : __rvm_remove_from_path() 1 > export PATH
+ /scripts/functions/utility : __rvm_remove_from_path() 2 > typeset -a _path
+ /scripts/functions/utility : __rvm_remove_from_path() 3 > _path=()
+ /scripts/functions/utility : __rvm_remove_from_path() 4 > __rvm_custom_separated_array _path : /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ /scripts/functions/utility : __rvm_custom_separated_array() 1 > typeset IFS
+ /scripts/functions/utility : __rvm_custom_separated_array() 2 > IFS=:
+ /scripts/functions/utility : __rvm_custom_separated_array() 3 > [[ -n '' ]]
+ /scripts/functions/utility : __rvm_custom_separated_array() 5 > eval '_path+=( $3 )'
++ /scripts/functions/utility : __rvm_custom_separated_array() -334 > _path+=($3)
+ /scripts/functions/utility : __rvm_remove_from_path() -143 > __rvm_remove_from_array _path /usr/local/rvm/bin /usr/local/bin /usr/bin /bin /usr/local/games /usr/games
+ /scripts/functions/utility : __rvm_remove_from_array() 1 > typeset _array_name _search _iterator
+ /scripts/functions/utility : __rvm_remove_from_array() 2 > typeset -a _temp_array
+ /scripts/functions/utility : __rvm_remove_from_array() 3 > _array_name=_path
+ /scripts/functions/utility : __rvm_remove_from_array() 4 > _search=/usr/local/rvm/bin
+ /scripts/functions/utility : __rvm_remove_from_array() 5 > shift 2
+ /scripts/functions/utility : __rvm_remove_from_array() 6 > _temp_array=()
+ /scripts/functions/utility : __rvm_remove_from_array() 356 > for _iterator in '"$@"'
+ /scripts/functions/utility : __rvm_remove_from_array() 9 > __rvm_string_match /usr/local/bin /usr/local/rvm/bin
+ /scripts/functions/support : __rvm_string_match() 1 > typeset _string
+ /scripts/functions/support : __rvm_string_match() 2 > _string=/usr/local/bin
+ /scripts/functions/support : __rvm_string_match() 3 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 1 ))
+ /scripts/functions/support : __rvm_string_match() 48 > case "${_string}" in
+ /scripts/functions/support : __rvm_string_match() 9 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 0 ))
+ /scripts/functions/support : __rvm_string_match() 11 > return 1
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > _temp_array+=("$_iterator")
+ /scripts/functions/utility : __rvm_remove_from_array() 356 > for _iterator in '"$@"'
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > __rvm_string_match /usr/bin /usr/local/rvm/bin
+ /scripts/functions/support : __rvm_string_match() 1 > typeset _string
+ /scripts/functions/support : __rvm_string_match() 2 > _string=/usr/bin
+ /scripts/functions/support : __rvm_string_match() 3 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 1 ))
+ /scripts/functions/support : __rvm_string_match() 48 > case "${_string}" in
+ /scripts/functions/support : __rvm_string_match() 9 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 0 ))
+ /scripts/functions/support : __rvm_string_match() 11 > return 1
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > _temp_array+=("$_iterator")
+ /scripts/functions/utility : __rvm_remove_from_array() 356 > for _iterator in '"$@"'
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > __rvm_string_match /bin /usr/local/rvm/bin
+ /scripts/functions/support : __rvm_string_match() 1 > typeset _string
+ /scripts/functions/support : __rvm_string_match() 2 > _string=/bin
+ /scripts/functions/support : __rvm_string_match() 3 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 1 ))
+ /scripts/functions/support : __rvm_string_match() 48 > case "${_string}" in
+ /scripts/functions/support : __rvm_string_match() 9 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 0 ))
+ /scripts/functions/support : __rvm_string_match() 11 > return 1
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > _temp_array+=("$_iterator")
+ /scripts/functions/utility : __rvm_remove_from_array() 356 > for _iterator in '"$@"'
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > __rvm_string_match /usr/local/games /usr/local/rvm/bin
+ /scripts/functions/support : __rvm_string_match() 1 > typeset _string
+ /scripts/functions/support : __rvm_string_match() 2 > _string=/usr/local/games
+ /scripts/functions/support : __rvm_string_match() 3 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 1 ))
+ /scripts/functions/support : __rvm_string_match() 48 > case "${_string}" in
+ /scripts/functions/support : __rvm_string_match() 9 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 0 ))
+ /scripts/functions/support : __rvm_string_match() 11 > return 1
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > _temp_array+=("$_iterator")
+ /scripts/functions/utility : __rvm_remove_from_array() 356 > for _iterator in '"$@"'
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > __rvm_string_match /usr/games /usr/local/rvm/bin
+ /scripts/functions/support : __rvm_string_match() 1 > typeset _string
+ /scripts/functions/support : __rvm_string_match() 2 > _string=/usr/games
+ /scripts/functions/support : __rvm_string_match() 3 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 1 ))
+ /scripts/functions/support : __rvm_string_match() 48 > case "${_string}" in
+ /scripts/functions/support : __rvm_string_match() 9 > shift
+ /scripts/functions/support : __rvm_string_match() 4 > (( 0 ))
+ /scripts/functions/support : __rvm_string_match() 11 > return 1
+ /scripts/functions/utility : __rvm_remove_from_array() 316 > _temp_array+=("$_iterator")
+ /scripts/functions/utility : __rvm_remove_from_array() 318 > eval '_path=( "${_temp_array[@]}" )'
++ /scripts/functions/utility : __rvm_remove_from_array() 276 > _path=("${_temp_array[@]}")
+ /scripts/functions/utility : __rvm_remove_from_path() 155 > __rvm_join_array PATH : _path
+ /scripts/functions/utility : __rvm_join_array() 1 > typeset IFS
+ /scripts/functions/utility : __rvm_join_array() 2 > IFS=:
+ /scripts/functions/utility : __rvm_join_array() 3 > eval 'PATH="${_path[*]}"'
++ /scripts/functions/utility : __rvm_join_array() -361 > PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
++ /scripts/functions/env : __rvm_remove_rvm_from_path() -363 > __rvm_which rvm
+ /scripts/functions/env : __rvm_remove_rvm_from_path() -214 > local_rvm_path=
+ /scripts/functions/env : __rvm_remove_rvm_from_path() -211 > builtin hash -r
+ /scripts/functions/rvmrc : __rvm_load_project_config() 107 > __rvm_conditionally_add_bin_path
+ /scripts/functions/env : __rvm_conditionally_add_bin_path() 1 > [[ :/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games: =~ :/usr/local/rvm/bin: ]]
+ /scripts/functions/env : __rvm_conditionally_add_bin_path() 51 > case "${rvm_ruby_string:-"system"}" in
+ /scripts/functions/env : __rvm_conditionally_add_bin_path() 5 > PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/rvm/bin
+ /scripts/functions/env : __rvm_conditionally_add_bin_path() 11 > builtin hash -r
++ /scripts/functions/rvmrc : __rvm_load_project_config() -47 > __rvm_env_string
++ /scripts/functions/environment : __rvm_env_string() 1 > typeset _path _string
++ /scripts/functions/environment : __rvm_env_string() 3 > _path=/usr/local/rvm/gems/ruby-1.8.7-p371
++ /scripts/functions/environment : __rvm_env_string() 5 > _string=ruby-1.8.7-p371
++ /scripts/functions/environment : __rvm_env_string() 6 > _string=ruby-1.8.7-p371
++ /scripts/functions/environment : __rvm_env_string() 8 > printf %b ruby-1.8.7-p371
+ /scripts/functions/rvmrc : __rvm_load_project_config() 424 > rvm_previous_environment=ruby-1.8.7-p371
+ /scripts/functions/rvmrc : __rvm_load_project_config() 425 > rvm_current_rvmrc=/u/apps/website/current/.rvmrc
+ /scripts/functions/rvmrc : __rvm_load_project_config() 426 > __rvm_ensure_is_a_function
+ /scripts/functions/environment : __rvm_ensure_is_a_function() 1 > [[ 0 == 1 ]]
+ /scripts/functions/environment : __rvm_ensure_is_a_function() 1 > is_a_function rvm
+ /scripts/functions/support : is_a_function() 1 > typeset -f rvm
+ /scripts/functions/rvmrc : __rvm_load_project_config() 337 > source /u/apps/website/current/.rvmrc
++ /u/apps/website/current/.rvmrc : source() 1 > rvm 1.8.7@system2 --create
++ /scripts/cli : rvm() 749 > typeset result current_result
++ /scripts/cli : rvm() 750 > export -a rvm_ruby_args
++ /scripts/cli : rvm() 751 > rvm_ruby_args=()
++ /scripts/cli : rvm() 6 > (( 0 == 0 ))
++ /scripts/cli : rvm() 8 > [[ -n 0002 ]]
++ /scripts/cli : rvm() 757 > rvm_rvmrc_files=("/etc/rvmrc" "$HOME/.rvmrc")
++ /scripts/cli : rvm() 11 > [[ -n /usr/local ]]
++ /scripts/cli : rvm() 12 > [[ ! /home/website/.rvmrc -ef /usr/local/.rvmrc ]]
++ /scripts/cli : rvm() 762 > rvm_rvmrc_files+=("${rvm_prefix}/.rvmrc")
++ /scripts/cli : rvm() 764 > for rvmrc in '"${rvm_rvmrc_files[@]}"'
++ /scripts/cli : rvm() 19 > [[ -f /etc/rvmrc ]]
++ /scripts/cli : rvm() 770 > GREP_OPTIONS=
++ /scripts/cli : rvm() 770 > grep '^\s*rvm .*$' /etc/rvmrc
++ /scripts/cli : rvm() 779 > source /etc/rvmrc
+++ /etc/rvmrc : source() 1 > rvm_project_rvmrc=0
+++ /etc/rvmrc : source() 2 > umask u=rwx,g=rwx,o=rx
++ /scripts/cli : rvm() 764 > for rvmrc in '"${rvm_rvmrc_files[@]}"'
++ /scripts/cli : rvm() 19 > [[ -f /home/website/.rvmrc ]]
++ /scripts/cli : rvm() 764 > for rvmrc in '"${rvm_rvmrc_files[@]}"'
++ /scripts/cli : rvm() 19 > [[ -f /usr/local/.rvmrc ]]
++ /scripts/cli : rvm() 783 > unset rvm_rvmrc_files
+++ /scripts/cli : rvm() 786 > cat /usr/local/rvm/VERSION
+++ /scripts/cli : rvm() 786 > cat /usr/local/rvm/RELEASE
++ /scripts/cli : rvm() 786 > disk_version='1.16.17 (master)'
++ /scripts/cli : rvm() 43 > [[ -s /usr/local/rvm/VERSION ]]
++ /scripts/cli : rvm() 43 > [[ 1.16.17 (master) != \1\.\1\6\.\1\7\ \(\m\a\s\t\e\r\) ]]
++ /scripts/cli : rvm() 813 > __rvm_initialize
++ /scripts/functions/init : __rvm_initialize() 41 > true /usr/local/rvm/scripts
++ /scripts/functions/init : __rvm_initialize() 42 > source /usr/local/rvm/scripts/base
+++ /scripts/base : source() 5 > : rvm_trace_flag:1
+++ /scripts/base : source() -34 > (( rvm_trace_flag > 0 ))
+++ /scripts/base : source() 8 > set -o xtrace
+++ /scripts/base : source() -29 > [[ -z '' ]]
+++ /scripts/base : source() 16 > export PS4
+++ /scripts/base : source() 17 > PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+++ /scripts/base : source() 21 > export __array_start rvm_path
+++ /scripts/base : source() -14 > [[ -n '' ]]
+++ /scripts/base : source() 30 > __array_start=0
+++ /scripts/base : source() -7 > (( 0 == 0 ))
+++ /scripts/base : source() -5 > [[ -n 0002 ]]
+++ /scripts/base : source() 36 > rvm_rvmrc_files=("/etc/rvmrc" "$HOME/.rvmrc")
+++ /scripts/base : source() -3 > [[ -n /usr/local ]]
+++ /scripts/base : source() -3 > [[ /home/website/.rvmrc -ef /usr/local/.rvmrc ]]
+++ /scripts/base : source() 38 > rvm_rvmrc_files+=("${rvm_prefix}/.rvmrc")
+++ /scripts/base : source() 41 > for rvmrc in '"${rvm_rvmrc_files[@]}"'
+++ /scripts/base : source() 3 > [[ -f /etc/rvmrc ]]
+++ /scripts/base : source() 45 > GREP_OPTIONS=
+++ /scripts/base : source() 45 > grep '^\s*rvm .*$' /etc/rvmrc
+++ /scripts/base : source() 54 > source /etc/rvmrc
++++ /etc/rvmrc : source() 1 > rvm_project_rvmrc=0
++++ /etc/rvmrc : source() 2 > umask u=rwx,g=rwx,o=rx
+++ /scripts/base : source() 41 > for rvmrc in '"${rvm_rvmrc_files[@]}"'
+++ /scripts/base : source() 3 > [[ -f /home/website/.rvmrc ]]
+++ /scripts/base : source() 41 > for rvmrc in '"${rvm_rvmrc_files[@]}"'
+++ /scripts/base : source() 3 > [[ -f /usr/local/.rvmrc ]]
+++ /scripts/base : source() 58 > unset rvm_rvmrc_files
+++ /scripts/base : source() 61 > export rvm_path
+++ /scripts/base : source() 22 > [[ -z /usr/local/rvm ]]
+++ /scripts/base : source() 74 > true /usr/local/rvm/scripts
+++ /scripts/base : source() 77 > source /usr/local/rvm/scripts/initialize
++++ /scripts/initialize : source() 3 > : rvm_trace_flag:1
++++ /scripts/initialize : source() -36 > (( rvm_trace_flag > 0 ))
++++ /scripts/initialize : source() 6 > set -o xtrace
++++ /scripts/initialize : source() -31 > [[ -z '' ]]
++++ /scripts/initialize : source() 14 > export PS4
++++ /scripts/initialize : source() 15 > PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
++++ /scripts/initialize : source() -19 > [[ -n 4.2.24(1)-release ]]
++++ /scripts/initialize : source() 23 > shopt -s extglob
++++ /scripts/initialize : source() 33 > export __rvm_env_loaded
++++ /scripts/initialize : source() 35 > : __rvm_env_loaded:1:
++++ /scripts/initialize : source() 37 > : __rvm_env_loaded:2:
++++ /scripts/initialize : source() 0 > [[ -z /usr/local/rvm/tmp ]]
++++ /scripts/initialize : source() 0 > (( __rvm_env_loaded == 1 ))
+++ /scripts/base : source() 81 > case " ${rvm_base_except:-} " in
+++ /scripts/base : source() 86 > source /usr/local/rvm/scripts/selector
+++ /scripts/base : source() 87 > source /usr/local/rvm/scripts/selector_gemsets
+++ /scripts/base : source() 91 > typeset -a scripts
+++ /scripts/base : source() 94 > scripts=(logging support utility init cleanup env rvmrc install environment gemset db bundler checksum)
+++ /scripts/base : source() 95 > for entry in '${scripts[@]}'
+++ /scripts/base : source() 96 > source /usr/local/rvm/scripts/functions/logging
+++++ /scripts/functions/logging : source() 40 > /usr/local/rvm/scripts/color red
++++ /scripts/functions/logging : source() 40 > rvm_error_clr=''
+++++ /scripts/functions/logging : source() 41 > /usr/local/rvm/scripts/color yellow
++++ /scripts/functions/logging : source() 41 > rvm_warn_clr=''
+++++ /scripts/functions/logging : source() 42 > /usr/local/rvm/scripts/color magenta
++++ /scripts/functions/logging : source() 42 > rvm_debug_clr=''
+++++ /scripts/functions/logging : source() 43 > /usr/local/rvm/scripts/color green
++++ /scripts/functions/logging : source() 43 > rvm_notify_clr=''
+++++ /scripts/functions/logging : source() 44 > /usr/local/rvm/scripts/color reset
++++ /scripts/functions/logging : source() 44 > rvm_reset_clr='(B'
+++ /scripts/base : source() 95 > for entry in '${scripts[@]}'
+++ /scripts/base : source() 96 > source /usr/local/rvm/scripts/functions/support
++++ /scripts/functions/support : source() -37 > [[ -z tar ]]
++++ /scripts/functions/support : source() -28 > [[ ! --no-same-owner =~ --no-same-owner ]]
++++ /scripts/functions/support : source() -18 > [[ -n '' ]]
+++ /scripts/base : source() 95 > for entry in '${scripts[@]}'
+++ /scripts/base : source() 96 > source /usr/local/rvm/scripts/functions/utility
+++ /scripts/base : source() 95 > for entry in '${scripts[@]}'
+++ /scripts/base : source() 96 > source /usr/local/rvm/scripts/functions/init
+++ /scripts/base : source() 95 > for entry in '${scripts[@]}'
+++ /scripts/base : source() 96 > source /usr/local/rvm/scripts/functions/cleanup
+++ /scripts/base : source() 95 > for entry in '${scripts[@]}'
+++ /scripts/base : source() 96 > source /usr/local/rvm/scripts/functions/env
+++ /scripts/base : source() 95 > for entry in '${scripts[@]}'
+++ /scripts/base : source() 96 > source /usr/local/rvm/scripts/functions/rvmrc
++++ /scripts/functions/rvmrc : source() 3 > export escape_flag _first _second
++++ /scripts/functions/rvmrc : source() 4 > escape_flag=1
++++ /scripts/functions/rvmrc : source() 5 > _first=0
++++ /scripts/functions/rvmrc : source() 6 > _second=1
+++ /scripts/base : source() 95 > for entry in '${scripts[@]}'
+++ /scripts/base : source() 96 > source /usr/local/rvm/scripts/functions/install
+++ /scripts/base : source() 95 > for entry in '${scripts[@]}'
+++ /scripts/base : source() 96 > source /usr/local/rvm/scripts/functions/environment
+++ /scripts/base : source() 95 > for entry in '${scripts[@]}'
+++ /scripts/base : source() 96 > source /usr/local/rvm/scripts/functions/gemset
+++ /scripts/base : source() 95 > for entry in '${scripts[@]}'
+++ /scripts/base : source() 96 > source /usr/local/rvm/scripts/functions/db
+++ /scripts/base : source() 95 > for entry in '${scripts[@]}'
+++ /scripts/base : source() 96 > source /usr/local/rvm/scripts/functions/bundler
+++ /scripts/base : source() 95 > for entry in '${scripts[@]}'
+++ /scripts/base : source() 96 > source /usr/local/rvm/scripts/functions/checksum
+++ /scripts/base : source() 98 > unset scripts entry rvm_base_except
++ /scripts/functions/init : __rvm_initialize() 44 > __rvm_clean_path
++ /scripts/functions/env : __rvm_clean_path() 128 > export PATH
++ /scripts/functions/env : __rvm_clean_path() 129 > typeset IFS _iterator_path
++ /scripts/functions/env : __rvm_clean_path() 130 > typeset -a _old_path _new_path
++ /scripts/functions/env : __rvm_clean_path() 131 > IFS=:
++ /scripts/functions/env : __rvm_clean_path() 132 > _old_path=()
++ /scripts/functions/env : __rvm_clean_path() 133 > __rvm_custom_separated_array _old_path : /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/rvm/bin
++ /scripts/functions/utility : __rvm_custom_separated_array() 340 > typeset IFS
++ /scripts/functions/utility : __rvm_custom_separated_array() 341 > IFS=:
++ /scripts/functions/utility : __rvm_custom_separated_array() 3 > [[ -n '' ]]
++ /scripts/functions/utility : __rvm_custom_separated_array() 344 > eval '_old_path+=( $3 )'
+++ /scripts/functions/utility : __rvm_custom_separated_array() 344 > _old_path+=($3)
++ /scripts/functions/env : __rvm_clean_path() 135 > for _iterator_path in '"${_old_path[@]}"'
++ /scripts/functions/env : __rvm_clean_path() -202 > [[ :: =~ :/usr/local/bin: ]]
++ /scripts/functions/env : __rvm_clean_path() 137 > _new_path+=("${_iterator_path}")
++ /scripts/functions/env : __rvm_clean_path() 135 > for _iterator_path in '"${_old_path[@]}"'
++ /scripts/functions/env : __rvm_clean_path() -202 > [[ :/usr/local/bin: =~ :/usr/bin: ]]
++ /scripts/functions/env : __rvm_clean_path() 137 > _new_path+=("${_iterator_path}")
++ /scripts/functions/env : __rvm_clean_path() 135 > for _iterator_path in '"${_old_path[@]}"'
++ /scripts/functions/env : __rvm_clean_path() -202 > [[ :/usr/local/bin:/usr/bin: =~ :/bin: ]]
++ /scripts/functions/env : __rvm_clean_path() 137 > _new_path+=("${_iterator_path}")
++ /scripts/functions/env : __rvm_clean_path() 135 > for _iterator_path in '"${_old_path[@]}"'
++ /scripts/functions/env : __rvm_clean_path() -202 > [[ :/usr/local/bin:/usr/bin:/bin: =~ :/usr/local/games: ]]
++ /scripts/functions/env : __rvm_clean_path() 137 > _new_path+=("${_iterator_path}")
++ /scripts/functions/env : __rvm_clean_path() 135 > for _iterator_path in '"${_old_path[@]}"'
++ /scripts/functions/env : __rvm_clean_path() -202 > [[ :/usr/local/bin:/usr/bin:/bin:/usr/local/games: =~ :/usr/games: ]]
++ /scripts/functions/env : __rvm_clean_path() 137 > _new_path+=("${_iterator_path}")
++ /scripts/functions/env : __rvm_clean_path() 135 > for _iterator_path in '"${_old_path[@]}"'
++ /scripts/functions/env : __rvm_clean_path() -202 > [[ :/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games: =~ :/usr/local/rvm/bin: ]]
++ /scripts/functions/env : __rvm_clean_path() 137 > _new_path+=("${_iterator_path}")
++ /scripts/functions/env : __rvm_clean_path() 139 > PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/rvm/bin
++ /scripts/functions/env : __rvm_clean_path() 140 > builtin hash -r
++ /scripts/functions/init : __rvm_initialize() 45 > __rvm_conditionally_add_bin_path
++ /scripts/functions/env : __rvm_conditionally_add_bin_path() 1 > [[ :/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/rvm/bin: =~ :/usr/local/rvm/bin: ]]
++ /scripts/functions/init : __rvm_initialize() 46 > export PATH
++ /scripts/functions/init : __rvm_initialize() 0 > [[ ! -d /usr/local/rvm/tmp ]]
++ /scripts/functions/init : __rvm_initialize() 53 > return 0
++ /scripts/cli : rvm() 814 > __rvm_setup
++ /scripts/functions/environment : __rvm_setup() 213 > export rvm_head_flag rvm_ruby_selected_flag rvm_user_install_flag rvm_path_flag rvm_cron_flag rvm_static_flag rvm_default_flag rvm_loaded_flag rvm_llvm_flag rvm_skip_autoreconf_flag rvm_18_flag rvm_19_flag rvm_force_autoconf_flag rvm_dump_environment_flag rvm_verbose_flag rvm_debug_flag rvm_trace_flag rvm_pretty_print_flag rvm_create_flag rvm_remove_flag rvm_gemdir_flag rvm_reload_flag rvm_auto_reload_flag rvm_disable_binary_flag rvm_ignore_gemsets_flag rvm_skip_gemsets_flag rvm_install_on_use_flag rvm_remote_flag rvm_verify_downloads_flag
++ /scripts/functions/environment : __rvm_setup() 214 > export rvm_gems_cache_path rvm_gems_path rvm_man_path rvm_ruby_gem_path rvm_ruby_log_path rvm_gems_cache_path rvm_archives_path rvm_docs_path rvm_environments_path rvm_examples_path rvm_gems_path rvm_gemsets_path rvm_help_path rvm_hooks_path rvm_lib_path rvm_log_path rvm_patches_path rvm_repos_path rvm_rubies_path rvm_scripts_path rvm_src_path rvm_tmp_path rvm_user_path rvm_usr_path rvm_wrappers_path rvm_externals_path
++ /scripts/functions/environment : __rvm_setup() 215 > export rvm_ruby_strings rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_major_version rvm_ruby_minor_version rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_repo_branch rvm_ruby_revision rvm_ruby_tag rvm_ruby_sha rvm_ruby_version rvm_ruby_package_file rvm_ruby_name rvm_ruby_name rvm_ruby_args rvm_ruby_user_tag rvm_ruby_patch detected_rvm_ruby_name
++ /scripts/functions/environment : __rvm_setup() 216 > export __rvm_env_loaded next_token rvm_error_message rvm_gemset_name rvm_parse_break rvm_token rvm_action rvm_export_args rvm_gemset_separator rvm_expanding_aliases rvm_architectures rvm_tar_command rvm_tar_options rvm_patch_original_pwd rvm_project_rvmrc rvm_archive_extension rvm_autoinstall_bundler_flag rvm_codesign_identity rvm_expected_gemset_name rvm_without_gems
++ /scripts/functions/environment : __rvm_setup() 217 > export -a rvm_patch_names rvm_ree_options rvm_autoconf_flags
++ /scripts/functions/environment : __rvm_setup() 9 > (( __rvm_env_loaded != 1 ))
++ /scripts/functions/environment : __rvm_setup() 221 > return 0
++ /scripts/cli : rvm() 816 > next_token=1.8.7@system2
++ /scripts/cli : rvm() 606 > (( 2 == 0 ))
++ /scripts/cli : rvm() 817 > shift
++ /scripts/cli : rvm() 818 > __rvm_parse_args --create
++ /scripts/cli : __rvm_parse_args() 49 > typeset _string
++ /scripts/cli : __rvm_parse_args() 50 > export rvm_ruby_string
++ /scripts/cli : __rvm_parse_args() 52 > rvm_action=rvmrc
++ /scripts/cli : __rvm_parse_args() 53 > rvm_parse_break=0
++ /scripts/cli : __rvm_parse_args() 8 > [[ --create =~ --trace ]]
++ /scripts/cli : __rvm_parse_args() 15 > [[ -n 1.8.7@system2 ]]
++ /scripts/cli : __rvm_parse_args() 65 > rvm_token=1.8.7@system2
++ /scripts/cli : __rvm_parse_args() 19 > (( 1 > 0 ))
++ /scripts/cli : __rvm_parse_args() 69 > next_token=--create
++ /scripts/cli : __rvm_parse_args() 70 > shift
++ /scripts/cli : __rvm_parse_args() 75 > case "$rvm_token" in
++ /scripts/cli : __rvm_parse_args() 78 > case "$rvm_token" in
++ /scripts/cli : __rvm_parse_args() 313 > rvm_action=rvmrc
++ /scripts/cli : __rvm_parse_args() 314 > rvm_gemset_name=system2
++ /scripts/cli : __rvm_parse_args() 315 > rvm_ruby_string=1.8.7@system2
++ /scripts/cli : __rvm_parse_args() 316 > rvm_ruby_strings=1.8.7@system2
++ /scripts/cli : __rvm_parse_args() 673 > [[ -z rvmrc ]]
++ /scripts/cli : __rvm_parse_args() 676 > [[ error == \r\v\m\r\c ]]
++ /scripts/cli : __rvm_parse_args() 676 > [[ 0 -eq 1 ]]
++ /scripts/cli : __rvm_parse_args() 676 > [[ -n '' ]]
++ /scripts/cli : __rvm_parse_args() 15 > [[ -n --create ]]
++ /scripts/cli : __rvm_parse_args() 65 > rvm_token=--create
++ /scripts/cli : __rvm_parse_args() 19 > (( 0 > 0 ))
++ /scripts/cli : __rvm_parse_args() 72 > next_token=
++ /scripts/cli : __rvm_parse_args() 75 > case "$rvm_token" in
++ /scripts/cli : __rvm_parse_args() 386 > case "$rvm_token" in
++ /scripts/cli : __rvm_parse_args() 607 > rvm_token=create
++ /scripts/cli : __rvm_parse_args() 608 > rvm_token=create
++ /scripts/cli : __rvm_parse_args() 609 > export rvm_create_flag=1
++ /scripts/cli : __rvm_parse_args() 609 > rvm_create_flag=1
++ /scripts/cli : __rvm_parse_args() 673 > [[ -z rvmrc ]]
++ /scripts/cli : __rvm_parse_args() 676 > [[ error == \r\v\m\r\c ]]
++ /scripts/cli : __rvm_parse_args() 676 > [[ 0 -eq 1 ]]
++ /scripts/cli : __rvm_parse_args() 676 > [[ -n '' ]]
++ /scripts/cli : __rvm_parse_args() 15 > [[ -n '' ]]
++ /scripts/cli : __rvm_parse_args() 729 > : rvm_ruby_args:0::
++ /scripts/cli : __rvm_parse_args() 683 > [[ -n '' ]]
++ /scripts/cli : rvm() 771 > (( rvm_trace_flag == 0 ))
++ /scripts/cli : rvm() 821 > export PS4
++ /scripts/cli : rvm() 774 > [[ -n '' ]]
++ /scripts/cli : rvm() 824 > PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
++ /scripts/cli : rvm() 826 > set -x
++ /scripts/cli : rvm() 828 > result=0
++ /scripts/cli : rvm() 829 > : rvm_ruby_args:0::
++ /scripts/cli : rvm() 783 > (( result ))
++ /scripts/cli : rvm() 832 > case "${rvm_action:=usage}" in
++ /scripts/cli : rvm() 931 > __rvm_rvmrc_tools
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 152 > export escape_flag
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 153 > typeset rvmrc_action rvmrc_path saveIFS trust rvmrc_ruby
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 155 > escape_flag=1
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 157 > rvmrc_action=
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 7 > (( 0 ))
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 158 > true
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 10 > [[ '' == \c\r\e\a\t\e ]]
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 15 > [[ '' == \a\l\l ]]
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 19 > [[ -n '' ]]
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 172 > rvmrc_path=/u/apps/website/current
+++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 174 > chpwd_functions=
+++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 174 > builtin cd /u/apps/website/current
+++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 174 > pwd
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 174 > rvmrc_path=/u/apps/website/current
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 25 > (( 0 ))
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 176 > true
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 28 > (( 0 ))
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 183 > __rvm_project_dir_check /u/apps/website/current rvmrc_path /u/apps/website/current/.rvmrc
++ /scripts/functions/rvmrc : __rvm_project_dir_check() 736 > typeset _found_file path_to_check variable variable_default
++ /scripts/functions/rvmrc : __rvm_project_dir_check() 737 > typeset -a _valid_files
++ /scripts/functions/rvmrc : __rvm_project_dir_check() 738 > path_to_check=/u/apps/website/current
++ /scripts/functions/rvmrc : __rvm_project_dir_check() 739 > variable=rvmrc_path
++ /scripts/functions/rvmrc : __rvm_project_dir_check() 740 > variable_default=/u/apps/website/current/.rvmrc
++ /scripts/functions/rvmrc : __rvm_project_dir_check() 745 > _valid_files=("$path_to_check" "$path_to_check/.rvmrc" "$path_to_check/.versions.conf" "$path_to_check/.ruby-version" "$path_to_check/.rbfu-version" "$path_to_check/.rbenv-version" "$path_to_check/Gemfile")
++ /scripts/functions/rvmrc : __rvm_project_dir_check() 747 > __rvm_find_first_file _found_file /u/apps/website/current /u/apps/website/current/.rvmrc /u/apps/website/current/.versions.conf /u/apps/website/current/.ruby-version /u/apps/website/current/.rbfu-version /u/apps/website/current/.rbenv-version /u/apps/website/current/Gemfile
++ /scripts/functions/utility : __rvm_find_first_file() 372 > typeset _first_file _variable_first_file __file_enum
++ /scripts/functions/utility : __rvm_find_first_file() 373 > _first_file=
++ /scripts/functions/utility : __rvm_find_first_file() 374 > _variable_first_file=_found_file
++ /scripts/functions/utility : __rvm_find_first_file() 375 > shift
++ /scripts/functions/utility : __rvm_find_first_file() 377 > for __file_enum in '"$@"'
++ /scripts/functions/utility : __rvm_find_first_file() 9 > [[ -f /u/apps/website/current ]]
++ /scripts/functions/utility : __rvm_find_first_file() 377 > for __file_enum in '"$@"'
++ /scripts/functions/utility : __rvm_find_first_file() 9 > [[ -f /u/apps/website/current/.rvmrc ]]
++ /scripts/functions/utility : __rvm_find_first_file() 382 > eval '_found_file="$__file_enum"'
+++ /scripts/functions/utility : __rvm_find_first_file() 382 > _found_file=/u/apps/website/current/.rvmrc
++ /scripts/functions/utility : __rvm_find_first_file() 383 > return 0
++ /scripts/functions/rvmrc : __rvm_project_dir_check() 378 > [[ .rvmrc == \G\e\m\f\i\l\e ]]
++ /scripts/functions/rvmrc : __rvm_project_dir_check() 387 > [[ -n rvmrc_path ]]
++ /scripts/functions/rvmrc : __rvm_project_dir_check() 759 > eval 'rvmrc_path="${_found_file:-/u/apps/website/current/.rvmrc}"'
+++ /scripts/functions/rvmrc : __rvm_project_dir_check() 759 > rvmrc_path=/u/apps/website/current/.rvmrc
++ /scripts/functions/rvmrc : __rvm_project_dir_check() 391 > [[ -n /u/apps/website/current/.rvmrc ]]
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 186 > case "$rvmrc_action" in
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 269 > rvm_error 'Usage: rvm rvmrc {trust,untrust,trusted,load,reset,is_trusted,try_to_read_ruby,create}'
++ /scripts/functions/logging : rvm_error() 48 > rvm_pretty_print stderr
++ /scripts/functions/logging : rvm_pretty_print() 17 > case "${rvm_pretty_print_flag:=auto}" in
++ /scripts/functions/logging : rvm_pretty_print() 22 > case "${TERM:-dumb}" in
++ /scripts/functions/logging : rvm_pretty_print() 25 > case "$1" in
++ /scripts/functions/logging : rvm_pretty_print() 11 > [[ -t 2 ]]
++ /scripts/functions/logging : rvm_pretty_print() 27 > return 1
++ /scripts/functions/logging : rvm_error() 50 > printf %b 'Usage: rvm rvmrc {trust,untrust,trusted,load,reset,is_trusted,try_to_read_ruby,create}\n'
Usage: rvm rvmrc {trust,untrust,trusted,load,reset,is_trusted,try_to_read_ruby,create}
++ /scripts/functions/rvmrc : __rvm_rvmrc_tools() 270 > return 1
++ /scripts/cli : rvm() 1068 > current_result=1
++ /scripts/cli : rvm() 1053 > (( result ))
++ /scripts/cli : rvm() 1069 > result=1
++ /scripts/cli : rvm() 1055 > (( result ))
++ /scripts/cli : rvm() 1084 > current_result=0
++ /scripts/cli : rvm() 1069 > (( result ))
++ /scripts/cli : rvm() 1071 > [[ 0 -eq 1 ]]
++ /scripts/cli : rvm() 1093 > typeset __local_rvm_trace_flag
++ /scripts/cli : rvm() 1094 > __local_rvm_trace_flag=1
++ /scripts/cli : rvm() 1096 > __rvm_teardown
++ /scripts/functions/environment : __rvm_teardown() 249 > builtin command -v __rvm_cleanup_tmp
++ /scripts/functions/environment : __rvm_teardown() 251 > __rvm_cleanup_tmp
++ /scripts/functions/cleanup : __rvm_cleanup_tmp() 1 > [[ -d /usr/local/rvm/tmp/ ]]
++ /scripts/functions/cleanup : __rvm_cleanup_tmp() 99 > case "${rvm_tmp_path%\/}" in
++ /scripts/functions/cleanup : __rvm_cleanup_tmp() 101 > __rvm_rm_rf '/usr/local/rvm/tmp/25184*'
++ /scripts/functions/cleanup : __rvm_rm_rf() 6 > __rvm_rm_rf_verbose '/usr/local/rvm/tmp/25184*'
++ /scripts/functions/cleanup : __rvm_rm_rf_verbose() 13 > typeset result target
++ /scripts/functions/cleanup : __rvm_rm_rf_verbose() 14 > result=1
++ /scripts/functions/cleanup : __rvm_rm_rf_verbose() 15 > target='/usr/local/rvm/tmp/25184*'
++ /scripts/functions/cleanup : __rvm_rm_rf_verbose() 6 > [[ -n '' ]]
++ /scripts/functions/cleanup : __rvm_rm_rf_verbose() 10 > [[ -n 4.2.24(1)-release ]]
++ /scripts/functions/cleanup : __rvm_rm_rf_verbose() 24 > shopt -s extglob
++ /scripts/functions/cleanup : __rvm_rm_rf_verbose() 29 > case "${target}" in
++ /scripts/functions/cleanup : __rvm_rm_rf_verbose() 22 > [[ -n /usr/local/rvm/tmp/25184* ]]
++ /scripts/functions/cleanup : __rvm_rm_rf_verbose() 24 > [[ -d /usr/local/rvm/tmp/25184* ]]
++ /scripts/functions/cleanup : __rvm_rm_rf_verbose() 28 > [[ -f /usr/local/rvm/tmp/25184* ]]
++ /scripts/functions/cleanup : __rvm_rm_rf_verbose() 28 > [[ -L /usr/local/rvm/tmp/25184* ]]
++ /scripts/functions/cleanup : __rvm_rm_rf_verbose() 45 > result=0
++ /scripts/functions/cleanup : __rvm_rm_rf_verbose() 50 > return 0
++ /scripts/functions/cleanup : __rvm_cleanup_tmp() 105 > return 0
++ /scripts/functions/environment : __rvm_teardown() 254 > export __rvm_env_loaded
++ /scripts/functions/environment : __rvm_teardown() 256 > : __rvm_env_loaded:2:
++ /scripts/functions/environment : __rvm_teardown() 258 > : __rvm_env_loaded:2:
++ /scripts/functions/environment : __rvm_teardown() 260 > : __rvm_env_loaded:1:
++ /scripts/functions/environment : __rvm_teardown() 250 > [[ -z /usr/local/rvm/tmp ]]
++ /scripts/functions/environment : __rvm_teardown() 250 > (( __rvm_env_loaded > 0 ))
++ /scripts/functions/environment : __rvm_teardown() 264 > return 0
++ /scripts/cli : rvm() 1086 > (( __local_rvm_trace_flag > 0 ))
++ /scripts/cli : rvm() 1100 > set +o verbose
++ /scripts/cli : rvm() 1101 > set +o xtrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment