Created
September 14, 2010 16:25
-
-
Save thinkerbot/579301 to your computer and use it in GitHub Desktop.
rvm PATH bug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| I have observed a bug in PATH on 'rvm use' where an extra ' :' is added, | |
| preventing discovery of executables along that last path. Without the debug | |
| info the relevant commmands and output are: | |
| % echo $PATH | |
| /Users/Simon/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/instantclient-10.2 | |
| % rvm use 1.8.6@chiangs --create | |
| Using /Users/Simon/.rvm/gems/ruby-1.8.6-p399 with gemset chiangs | |
| % echo $PATH | |
| /Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs/bin:/Users/Simon/.rvm/gems/ruby-1.8.6-p399@global/bin:/Users/Simon/.rvm/rubies/ruby-1.8.6-p399/bin:/Users/Simon/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/instantclient-10.2 : | |
| % | |
| You can see the instantclient path will no longer work. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Last login: Tue Sep 14 10:15:52 on ttys000 | |
| % rvm debug | |
| system: | |
| rvm 1.0.8 by Wayne E. Seguin ([email protected]) [http://rvm.beginrescueend.com/] | |
| system: | |
| system: | |
| uname: "Darwin m13725.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386" | |
| bash: "/bin/bash => GNU bash, version 3.2.17(1)-release (i386-apple-darwin9.0)" | |
| zsh: "/bin/zsh => zsh 4.3.4 (i386-apple-darwin9.0)" | |
| rvm: | |
| version: "rvm 1.0.8 by Wayne E. Seguin ([email protected]) [http://rvm.beginrescueend.com/]" | |
| homes: | |
| gem: "not set" | |
| ruby: "not set" | |
| binaries: | |
| ruby: "/usr/bin/ruby" | |
| irb: "/usr/bin/irb" | |
| gem: "/usr/bin/gem" | |
| rake: "/usr/bin/rake" | |
| environment: | |
| PATH: "/Users/Simon/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/instantclient-10.2" | |
| GEM_HOME: "" | |
| GEM_PATH: "" | |
| BUNDLE_PATH: "" | |
| MY_RUBY_HOME: "" | |
| IRBRC: "" | |
| RUBYOPT: "" | |
| gemset: "" | |
| PATH: | |
| /Users/Simon/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin | |
| uname -a: Darwin m13725.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 | |
| permissions: /Users/Simon/.rvm: | |
| total 24 | |
| drwxr-xr-x 20 Simon staff 680 Sep 14 08:15 . | |
| drwxr-xr-x+ 42 Simon staff 1428 Sep 14 09:46 .. | |
| -rw-r--r-- 1 Simon staff 1038 Sep 14 09:57 LICENCE | |
| -rw-r--r-- 1 Simon staff 6743 Sep 14 09:57 README | |
| drwxr-xr-x 7 Simon staff 238 Sep 14 09:57 archives | |
| drwxr-xr-x 15 Simon staff 510 Sep 14 09:57 bin | |
| drwxr-xr-x 8 Simon staff 272 Sep 14 08:22 config | |
| drwxr-xr-x 12 Simon staff 408 Sep 14 09:44 environments | |
| drwxr-xr-x 3 Simon staff 102 Sep 14 08:08 examples | |
| drwxr-xr-x 12 Simon staff 408 Sep 14 09:52 gems | |
| drwxr-xr-x 8 Simon staff 272 Sep 14 08:08 gemsets | |
| drwxr-xr-x 38 Simon staff 1292 Sep 14 08:08 help | |
| drwxr-xr-x 5 Simon staff 170 Sep 14 08:08 lib | |
| drwxr-xr-x 12 Simon staff 408 Sep 14 09:57 log | |
| drwxr-xr-x 4 Simon staff 136 Sep 14 08:08 patches | |
| drwxr-xr-x 5 Simon staff 170 Sep 14 08:21 rubies | |
| drwxr-xr-x 54 Simon staff 1836 Sep 14 09:57 scripts | |
| drwxr-xr-x 8 Simon staff 272 Sep 14 09:52 src | |
| drwxr-xr-x 2 Simon staff 68 Sep 14 08:08 tmp | |
| drwxr-xr-x 3 Simon staff 102 Sep 14 08:15 wrappers | |
| /Users/Simon/.rvm/rubies: | |
| total 0 | |
| drwxr-xr-x 5 Simon staff 170 Sep 14 08:21 . | |
| drwxr-xr-x 20 Simon staff 680 Sep 14 08:15 .. | |
| drwxr-xr-x 6 Simon staff 204 Sep 14 08:22 ruby-1.8.6-p399 | |
| drwxr-xr-x 6 Simon staff 204 Sep 14 08:20 ruby-1.8.7-p302 | |
| drwxr-xr-x 7 Simon staff 238 Sep 14 08:15 ruby-1.9.2-p0 | |
| uname -r: 9.8.0 | |
| uname -m: i386 | |
| sw_vers: ProductName: Mac OS X,ProductVersion: 10.5.8,BuildVersion: 9L31a, | |
| ARCHFLAGS: | |
| LDFLAGS: | |
| CFLAGS: | |
| /Developer/SDKs/*:MacOSX10.4u.sdk,MacOSX10.5.sdk, | |
| /Users/Simon/.bash_profile: | |
| [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" | |
| # rvm use 1.8.6@chiangs --create | |
| /Users/Simon/.rvm/config/db \(filtered\): | |
| #General | |
| niceness=0 | |
| # Rubies | |
| interpreter=ruby | |
| ruby_version=1.8.7 | |
| ruby_configure_flags=--enable-shared | |
| ruby_patchlevel=299 | |
| ruby_configure=--enable-shared | |
| ruby_repo_url=http://svn.ruby-lang.org/repos/ruby | |
| ruby_1.0_url=ftp://ftp.ruby-lang.org/pub/ruby/1.0 | |
| ruby_1.2_url=ftp://ftp.ruby-lang.org/pub/ruby/1.2 | |
| ruby_1.3_url=ftp://ftp.ruby-lang.org/pub/ruby/1.3 | |
| ruby_1.4_url=ftp://ftp.ruby-lang.org/pub/ruby/1.4 | |
| ruby_1.5_url=ftp://ftp.ruby-lang.org/pub/ruby/1.5 | |
| ruby_1.6_url=ftp://ftp.ruby-lang.org/pub/ruby/1.6 | |
| ruby_1.7_url=ftp://ftp.ruby-lang.org/pub/ruby/1.7 | |
| ruby_1.8_url=ftp://ftp.ruby-lang.org/pub/ruby/1.8 | |
| ruby_1.9_url=ftp://ftp.ruby-lang.org/pub/ruby/1.9 | |
| ruby_2.0_url=ftp://ftp.ruby-lang.org/pub/ruby/2.0 | |
| ruby_1.9.1_patch_level=378 | |
| ruby_1.9.2_patch_level=0 | |
| ruby_1.8.5_patch_level=231 | |
| ruby_1.8.6_patch_level=399 | |
| ruby_1.8.7_patch_level=302 | |
| rubygems_version=1.3.7 | |
| rubygems_1.3.5_url=http://rubyforge.org/frs/download.php/60718 | |
| rubygems_1.3.6_url=http://rubyforge.org/frs/download.php/69365 | |
| rubygems_1.3.7_url=http://rubyforge.org/frs/download.php/70696 | |
| rbx_version=1.0.1 | |
| rbx_1.0.0_patch_level=20100514 | |
| rbx_1.0.1_patch_level=20100603 | |
| rbx_url=http://asset.rubini.us | |
| rubinius_repo_url=git://github.com/evanphx/rubinius.git | |
| ree_version=1.8.7 | |
| ree_configure_flags=--dont-install-useful-gems | |
| 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://rubyforge.org/frs/download.php/71096 | |
| ree_1.8.7_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition187.git | |
| ree_1.8.7_patch_level=2010.02 | |
| jruby_version=1.5.2 | |
| jruby_repo_url=git://github.com/jruby/jruby.git | |
| jruby_url=http://jruby.org.s3.amazonaws.com/downloads | |
| macruby_version=0.6 | |
| macruby_url=http://www.macruby.org/files | |
| macruby_repo_url=git://git.macruby.org/macruby/MacRuby.git | |
| macruby_nightly_url=http://www.macruby.org/files/nightlies/macruby_nightly-latest.pkg | |
| maglev_version=24209 | |
| maglev_url=http://glass-downloads.gemstone.com/maglev | |
| maglev_repo_url=git://github.com/MagLev/maglev.git | |
| shyouhei_repo_url=git://github.com/shyouhei/ruby.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/ | |
| # Packages | |
| readline_url=ftp://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 | |
| zlib_url=http://www.zlib.net | |
| autoconf_url=ftp.gnu.org/gnu/autoconf | |
| ncurses_url=http://ftp.gnu.org/pub/gnu/ncurses | |
| pkg-config_url=http://pkgconfig.freedesktop.org/releases | |
| gettext_url=ftp://ftp.gnu.org/pub/gnu/gettext | |
| libxml2_url=ftp://xmlsoft.org/libxml2/ | |
| 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 | |
| /Users/Simon/.gemrc \(filtered\): | |
| --- | |
| :verbose: true | |
| :update_sources: true | |
| :sources: | |
| - http://gems.rubyforge.org/ | |
| - http://gems.github.com | |
| - http://gems.rubyonrails.org | |
| - http://gems.pinnacol.com | |
| :bulk_threshold: 1000 | |
| :backtrace: false | |
| :benchmark: false | |
| gem: --no-rdoc --no-ri | |
| gem sources: | |
| http://gems.rubyforge.org/ | |
| http://gems.github.com | |
| http://gems.rubyonrails.org | |
| http://gems.pinnacol.com | |
| % echo $PATH | |
| /Users/Simon/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/instantclient-10.2 | |
| % rvm --trace use 1.8.6@chiangs --create | |
| + [[ -z '' ]] | |
| + export 'PS4=-[${BASH_SOURCE}] : ${LINENO} : ${FUNCNAME[0]:+${FUNCNAME[0]}() > }' | |
| + PS4='-[${BASH_SOURCE}] : ${LINENO} : ${FUNCNAME[0]:+${FUNCNAME[0]}() > }' | |
| -[/Users/Simon/.rvm/scripts/cli] : 564 : __rvm_parse_args() > [[ -z '' ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 564 : __rvm_parse_args() > [[ -n '' ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 566 : __rvm_parse_args() > [[ 0 -eq 1 ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 566 : __rvm_parse_args() > [[ -n '' ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 15 : __rvm_parse_args() > [[ -n use ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 17 : __rvm_parse_args() > rvm_token=use | |
| -[/Users/Simon/.rvm/scripts/cli] : 19 : __rvm_parse_args() > [[ 2 -gt 0 ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 19 : __rvm_parse_args() > next_token=1.8.6@chiangs | |
| -[/Users/Simon/.rvm/scripts/cli] : 19 : __rvm_parse_args() > shift | |
| -[/Users/Simon/.rvm/scripts/cli] : 34 : __rvm_parse_args() > case "$rvm_token" in | |
| -[/Users/Simon/.rvm/scripts/cli] : 36 : __rvm_parse_args() > rvm_action=use | |
| -[/Users/Simon/.rvm/scripts/cli] : 37 : __rvm_parse_args() > rvm_verbose_flag=1 | |
| -[/Users/Simon/.rvm/scripts/cli] : 38 : __rvm_parse_args() > [[ ruby = \1\.\8\.\6\@\c\h\i\a\n\g\s ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 564 : __rvm_parse_args() > [[ -z use ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 566 : __rvm_parse_args() > [[ 0 -eq 1 ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 566 : __rvm_parse_args() > [[ -n '' ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 15 : __rvm_parse_args() > [[ -n 1.8.6@chiangs ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 17 : __rvm_parse_args() > rvm_token=1.8.6@chiangs | |
| -[/Users/Simon/.rvm/scripts/cli] : 19 : __rvm_parse_args() > [[ 1 -gt 0 ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 19 : __rvm_parse_args() > next_token=--create | |
| -[/Users/Simon/.rvm/scripts/cli] : 19 : __rvm_parse_args() > shift | |
| -[/Users/Simon/.rvm/scripts/cli] : 34 : __rvm_parse_args() > case "$rvm_token" in | |
| -[/Users/Simon/.rvm/scripts/cli] : 489 : __rvm_parse_args() > [[ -n 1.8.6@chiangs ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 492 : __rvm_parse_args() > [[ gemset = \u\s\e ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 505 : __rvm_parse_args() > echo 1.8.6@chiangs | |
| -[/Users/Simon/.rvm/scripts/cli] : 505 : __rvm_parse_args() > grep -q , | |
| -[/Users/Simon/.rvm/scripts/cli] : 511 : __rvm_parse_args() > /Users/Simon/.rvm/scripts/match 1.8.6@chiangs '^@' | |
| -[/Users/Simon/.rvm/scripts/cli] : 517 : __rvm_parse_args() > /Users/Simon/.rvm/scripts/match 1.8.6@chiangs '^.+@.+$' | |
| -[/Users/Simon/.rvm/scripts/cli] : 518 : __rvm_parse_args() > gemset_name=chiangs | |
| -[/Users/Simon/.rvm/scripts/cli] : 519 : __rvm_parse_args() > rvm_ruby_string=1.8.6@chiangs | |
| -[/Users/Simon/.rvm/scripts/cli] : 520 : __rvm_parse_args() > rvm_ruby_strings=1.8.6@chiangs | |
| -[/Users/Simon/.rvm/scripts/cli] : 561 : __rvm_parse_args() > [[ error = \u\s\e ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 564 : __rvm_parse_args() > [[ -z use ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 566 : __rvm_parse_args() > [[ 0 -eq 1 ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 566 : __rvm_parse_args() > [[ -n '' ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 15 : __rvm_parse_args() > [[ -n --create ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 17 : __rvm_parse_args() > rvm_token=--create | |
| -[/Users/Simon/.rvm/scripts/cli] : 19 : __rvm_parse_args() > [[ 0 -gt 0 ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 19 : __rvm_parse_args() > next_token= | |
| -[/Users/Simon/.rvm/scripts/cli] : 34 : __rvm_parse_args() > case "$rvm_token" in | |
| -[/Users/Simon/.rvm/scripts/cli] : 430 : __rvm_parse_args() > export rvm_create_flag=1 | |
| -[/Users/Simon/.rvm/scripts/cli] : 430 : __rvm_parse_args() > rvm_create_flag=1 | |
| -[/Users/Simon/.rvm/scripts/cli] : 564 : __rvm_parse_args() > [[ -z use ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 566 : __rvm_parse_args() > [[ 0 -eq 1 ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 566 : __rvm_parse_args() > [[ -n '' ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 15 : __rvm_parse_args() > [[ -n '' ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 570 : __rvm_parse_args() > [[ 0 -gt 0 ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 572 : __rvm_parse_args() > [[ -n '' ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 616 : rvm() > rvm_action=use | |
| -[/Users/Simon/.rvm/scripts/cli] : 618 : rvm() > result=0 | |
| env | awk -F= -v ORS=' ' '/rvm_/{print $1}' | |
| --[/Users/Simon/.rvm/scripts/cli] : -12 : rvm() > env | |
| --[/Users/Simon/.rvm/scripts/cli] : -12 : rvm() > awk -F= -v 'ORS= ' '/rvm_/{print $1}' | |
| -[/Users/Simon/.rvm/scripts/cli] : 620 : rvm() > export BUNDLE_PATH GEM_HOME GEM_PATH rvm_create_flag rvm_path rvm_debug_flag rvm_trace_flag rvm_interactive_flag rvm_version rvm_ruby_string | |
| -[/Users/Simon/.rvm/scripts/cli] : 635 : rvm() > case "$rvm_action" in | |
| -[/Users/Simon/.rvm/scripts/cli] : 623 : rvm() > __rvm_use | |
| -[/Users/Simon/.rvm/scripts/selector] : 1 : __rvm_use() > local new_path binary full_binary_path rvm_ruby_gem_home | |
| -[/Users/Simon/.rvm/scripts/selector] : 3 : __rvm_use() > [[ 0 -eq 0 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 3 : __rvm_use() > __rvm_select | |
| -[/Users/Simon/.rvm/scripts/selector] : 3 : __rvm_select() > export GEM_HOME GEM_PATH BUNDLE_PATH MY_RUBY_HOME RUBY_VERSION | |
| -[/Users/Simon/.rvm/scripts/selector] : 5 : __rvm_select() > [[ -z 1.8.6@chiangs ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 13 : __rvm_select() > __rvm_ruby_string | |
| -[/Users/Simon/.rvm/scripts/selector] : 9 : __rvm_ruby_string() > rvm_expanding_aliases=0 | |
| -[/Users/Simon/.rvm/scripts/selector] : 11 : __rvm_ruby_string() > rvm_ruby_version= | |
| -[/Users/Simon/.rvm/scripts/selector] : 12 : __rvm_ruby_string() > rvm_gemset_name= | |
| -[/Users/Simon/.rvm/scripts/selector] : 13 : __rvm_ruby_string() > rvm_ruby_interpreter= | |
| -[/Users/Simon/.rvm/scripts/selector] : 14 : __rvm_ruby_string() > rvm_ruby_version= | |
| -[/Users/Simon/.rvm/scripts/selector] : 15 : __rvm_ruby_string() > rvm_ruby_patch_level= | |
| -[/Users/Simon/.rvm/scripts/selector] : 16 : __rvm_ruby_string() > rvm_ruby_revision= | |
| -[/Users/Simon/.rvm/scripts/selector] : 17 : __rvm_ruby_string() > rvm_ruby_tag= | |
| -[/Users/Simon/.rvm/scripts/selector] : 19 : __rvm_ruby_string() > echo 1.8.6@chiangs | |
| -[/Users/Simon/.rvm/scripts/selector] : 19 : __rvm_ruby_string() > grep -q @ | |
| -[/Users/Simon/.rvm/scripts/selector] : 20 : __rvm_ruby_string() > rvm_gemset_name=chiangs | |
| -[/Users/Simon/.rvm/scripts/selector] : 21 : __rvm_ruby_string() > rvm_ruby_string=1.8.6 | |
| -[/Users/Simon/.rvm/scripts/selector] : 22 : __rvm_ruby_string() > rvm_sticky_flag=1 | |
| -[/Users/Simon/.rvm/scripts/selector] : 26 : __rvm_ruby_string() > [[ 0 -eq 0 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 26 : __rvm_ruby_string() > [[ -n 1.8.6 ]] | |
| "$rvm_path/scripts/alias" show "$rvm_ruby_string" 2>/dev/null | |
| --[/Users/Simon/.rvm/scripts/selector] : -397 : __rvm_ruby_string() > /Users/Simon/.rvm/scripts/alias show 1.8.6 | |
| -[/Users/Simon/.rvm/scripts/selector] : 27 : __rvm_ruby_string() > expanded_alias_name= | |
| -[/Users/Simon/.rvm/scripts/selector] : 27 : __rvm_ruby_string() > [[ -n '' ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 30 : __rvm_ruby_string() > [[ 1.8.6 = default ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 36 : __rvm_ruby_string() > ruby_string=1.8.6 | |
| -[/Users/Simon/.rvm/scripts/selector] : 38 : __rvm_ruby_string() > __rvm_unset_ruby_variables | |
| env | awk -F= '/^rvm_ruby_/{printf $1" "}' | |
| --[/Users/Simon/.rvm/scripts/utility] : -325 : __rvm_unset_ruby_variables() > env | |
| --[/Users/Simon/.rvm/scripts/utility] : -325 : __rvm_unset_ruby_variables() > awk -F= '/^rvm_ruby_/{printf $1" "}' | |
| -[/Users/Simon/.rvm/scripts/utility] : 1 : __rvm_unset_ruby_variables() > unset rvm_ruby_flag rvm_ruby_string | |
| -[/Users/Simon/.rvm/scripts/selector] : 112 : __rvm_ruby_string() > strings=($(echo ${ruby_string//-/ })) | |
| echo ${ruby_string//-/ } | |
| --[/Users/Simon/.rvm/scripts/selector] : -325 : __rvm_ruby_string() > echo 1.8.6 | |
| -[/Users/Simon/.rvm/scripts/selector] : 114 : __rvm_ruby_string() > [[ 1 -eq 0 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 454 : __rvm_ruby_string() > for string in '"${strings[@]:-""}"' | |
| -[/Users/Simon/.rvm/scripts/selector] : 458 : __rvm_ruby_string() > case "$string" in | |
| -[/Users/Simon/.rvm/scripts/selector] : 161 : __rvm_ruby_string() > rvm_ruby_version=1.8.6 | |
| -[/Users/Simon/.rvm/scripts/selector] : 162 : __rvm_ruby_string() > rvm_ruby_revision= | |
| -[/Users/Simon/.rvm/scripts/selector] : 163 : __rvm_ruby_string() > rvm_ruby_tag= | |
| -[/Users/Simon/.rvm/scripts/selector] : 239 : __rvm_ruby_string() > [[ -z '' ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 567 : __rvm_ruby_string() > case "$rvm_ruby_version" in | |
| -[/Users/Simon/.rvm/scripts/selector] : 242 : __rvm_ruby_string() > rvm_ruby_interpreter=ruby | |
| -[/Users/Simon/.rvm/scripts/selector] : 249 : __rvm_ruby_string() > rvm_ruby_version=1.8.6 | |
| -[/Users/Simon/.rvm/scripts/selector] : 250 : __rvm_ruby_string() > [[ -z 1.8.6 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 254 : __rvm_ruby_string() > [[ -z 1.8.6 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 257 : __rvm_ruby_string() > rvm_ruby_string=ruby-1.8.6 | |
| -[/Users/Simon/.rvm/scripts/selector] : 261 : __rvm_ruby_string() > [[ 0 -eq 1 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 264 : __rvm_ruby_string() > [[ -n '' ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 267 : __rvm_ruby_string() > [[ -n '' ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 270 : __rvm_ruby_string() > [[ -n '' ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 273 : __rvm_ruby_string() > [[ -n '' ]] | |
| __rvm_db "${rvm_ruby_interpreter}_${rvm_ruby_version}_patch_level" | |
| --[/Users/Simon/.rvm/scripts/selector] : -325 : __rvm_ruby_string() > __rvm_db ruby_1.8.6_patch_level | |
| --[/Users/Simon/.rvm/scripts/utility] : 1 : __rvm_db() > local value key variable | |
| --[/Users/Simon/.rvm/scripts/utility] : 3 : __rvm_db() > key=ruby_1.8.6_patch_level | |
| --[/Users/Simon/.rvm/scripts/utility] : 4 : __rvm_db() > variable= | |
| --[/Users/Simon/.rvm/scripts/utility] : 6 : __rvm_db() > [[ -f /Users/Simon/.rvm/config/user ]] | |
| $rvm_path/scripts/db "$rvm_path/config/user" "$key" | |
| ---[/Users/Simon/.rvm/scripts/utility] : -99 : __rvm_db() > /Users/Simon/.rvm/scripts/db /Users/Simon/.rvm/config/user ruby_1.8.6_patch_level | |
| --[/Users/Simon/.rvm/scripts/utility] : 7 : __rvm_db() > value= | |
| --[/Users/Simon/.rvm/scripts/utility] : 10 : __rvm_db() > [[ -z '' ]] | |
| $rvm_path/scripts/db "$rvm_path/config/db" "$key" | |
| ---[/Users/Simon/.rvm/scripts/utility] : -95 : __rvm_db() > /Users/Simon/.rvm/scripts/db /Users/Simon/.rvm/config/db ruby_1.8.6_patch_level | |
| --[/Users/Simon/.rvm/scripts/utility] : 11 : __rvm_db() > value=399 | |
| --[/Users/Simon/.rvm/scripts/utility] : 14 : __rvm_db() > [[ -n 399 ]] | |
| --[/Users/Simon/.rvm/scripts/utility] : 15 : __rvm_db() > [[ -z '' ]] | |
| --[/Users/Simon/.rvm/scripts/utility] : 16 : __rvm_db() > echo 399 | |
| --[/Users/Simon/.rvm/scripts/utility] : 22 : __rvm_db() > return 0 | |
| -[/Users/Simon/.rvm/scripts/selector] : 277 : __rvm_ruby_string() > patch_level=399 | |
| -[/Users/Simon/.rvm/scripts/selector] : 279 : __rvm_ruby_string() > [[ -n 399 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 281 : __rvm_ruby_string() > [[ ree = \r\u\b\y ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 281 : __rvm_ruby_string() > [[ rbx = \r\u\b\y ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 284 : __rvm_ruby_string() > rvm_ruby_patch_level=p399 | |
| -[/Users/Simon/.rvm/scripts/selector] : 288 : __rvm_ruby_string() > [[ -n p399 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 290 : __rvm_ruby_string() > rvm_ruby_patch_level=p399 | |
| -[/Users/Simon/.rvm/scripts/selector] : 291 : __rvm_ruby_string() > rvm_ruby_string=ruby-1.8.6-p399 | |
| -[/Users/Simon/.rvm/scripts/selector] : 293 : __rvm_ruby_string() > [[ ree = \r\u\b\y ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 293 : __rvm_ruby_string() > [[ rbx = \r\u\b\y ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 297 : __rvm_ruby_string() > rvm_ruby_string=ruby-1.8.6-p399 | |
| -[/Users/Simon/.rvm/scripts/selector] : 298 : __rvm_ruby_string() > rvm_ruby_string=ruby-1.8.6-p399 | |
| -[/Users/Simon/.rvm/scripts/selector] : 303 : __rvm_ruby_string() > [[ -n '' ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -307 : __rvm_select() > rvm_archive_extension=tar.gz | |
| -[/Users/Simon/.rvm/scripts/selector] : 21 : __rvm_select() > case "$rvm_ruby_interpreter" in | |
| -[/Users/Simon/.rvm/scripts/selector] : -156 : __rvm_select() > [[ -z 1.8.6 ]] | |
| __rvm_db "ruby_repo_url" | |
| --[/Users/Simon/.rvm/scripts/selector] : -325 : __rvm_select() > __rvm_db ruby_repo_url | |
| --[/Users/Simon/.rvm/scripts/utility] : 1 : __rvm_db() > local value key variable | |
| --[/Users/Simon/.rvm/scripts/utility] : 3 : __rvm_db() > key=ruby_repo_url | |
| --[/Users/Simon/.rvm/scripts/utility] : 4 : __rvm_db() > variable= | |
| --[/Users/Simon/.rvm/scripts/utility] : 6 : __rvm_db() > [[ -f /Users/Simon/.rvm/config/user ]] | |
| $rvm_path/scripts/db "$rvm_path/config/user" "$key" | |
| ---[/Users/Simon/.rvm/scripts/utility] : -99 : __rvm_db() > /Users/Simon/.rvm/scripts/db /Users/Simon/.rvm/config/user ruby_repo_url | |
| --[/Users/Simon/.rvm/scripts/utility] : 7 : __rvm_db() > value= | |
| --[/Users/Simon/.rvm/scripts/utility] : 10 : __rvm_db() > [[ -z '' ]] | |
| $rvm_path/scripts/db "$rvm_path/config/db" "$key" | |
| ---[/Users/Simon/.rvm/scripts/utility] : -95 : __rvm_db() > /Users/Simon/.rvm/scripts/db /Users/Simon/.rvm/config/db ruby_repo_url | |
| --[/Users/Simon/.rvm/scripts/utility] : 11 : __rvm_db() > value=http://svn.ruby-lang.org/repos/ruby | |
| --[/Users/Simon/.rvm/scripts/utility] : 14 : __rvm_db() > [[ -n http://svn.ruby-lang.org/repos/ruby ]] | |
| --[/Users/Simon/.rvm/scripts/utility] : 15 : __rvm_db() > [[ -z '' ]] | |
| --[/Users/Simon/.rvm/scripts/utility] : 16 : __rvm_db() > echo http://svn.ruby-lang.org/repos/ruby | |
| --[/Users/Simon/.rvm/scripts/utility] : 22 : __rvm_db() > return 0 | |
| -[/Users/Simon/.rvm/scripts/selector] : -152 : __rvm_select() > rvm_ruby_repo_url=http://svn.ruby-lang.org/repos/ruby | |
| -[/Users/Simon/.rvm/scripts/selector] : -150 : __rvm_select() > [[ 0 -eq 0 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -149 : __rvm_select() > rvm_archive_extension=tar.bz2 | |
| -[/Users/Simon/.rvm/scripts/selector] : -116 : __rvm_select() > __rvm_gemset_select | |
| -[/Users/Simon/.rvm/scripts/selector] : 2 : __rvm_gemset_select() > command -v gem | |
| -[/Users/Simon/.rvm/scripts/selector] : 3 : __rvm_gemset_select() > [[ 0 -gt 0 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 5 : __rvm_gemset_select() > rvm_ruby_gem_home= | |
| -[/Users/Simon/.rvm/scripts/selector] : 6 : __rvm_gemset_select() > rvm_gemset_name=chiangs | |
| -[/Users/Simon/.rvm/scripts/selector] : 7 : __rvm_gemset_select() > rvm_ruby_global_gems_path=@global | |
| -[/Users/Simon/.rvm/scripts/selector] : 9 : __rvm_gemset_select() > [[ -z chiangs ]] | |
| echo "$rvm_ruby_gem_home" | awk -F'@' '{print $NF}' | |
| --[/Users/Simon/.rvm/scripts/selector] : -635 : __rvm_gemset_select() > echo '' | |
| --[/Users/Simon/.rvm/scripts/selector] : -635 : __rvm_gemset_select() > awk -F@ '{print $NF}' | |
| -[/Users/Simon/.rvm/scripts/selector] : 43 : __rvm_gemset_select() > local gemset= | |
| -[/Users/Simon/.rvm/scripts/selector] : 45 : __rvm_gemset_select() > [[ -z ruby-1.8.6-p399 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 49 : __rvm_gemset_select() > [[ -n ruby-1.8.6-p399 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 51 : __rvm_gemset_select() > [[ -z '' ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 52 : __rvm_gemset_select() > rvm_ruby_gem_home=/Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs | |
| -[/Users/Simon/.rvm/scripts/selector] : 63 : __rvm_gemset_select() > [[ -z '' ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 63 : __rvm_gemset_select() > unset GEM_HOME | |
| -[/Users/Simon/.rvm/scripts/selector] : 66 : __rvm_gemset_select() > [[ -n chiangs ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 66 : __rvm_gemset_select() > [[ ! -d /Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 75 : __rvm_gemset_select() > [[ 0 -eq 1 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 79 : __rvm_gemset_select() > [[ -z /Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 84 : __rvm_gemset_select() > rvm_ruby_gem_path=/Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs:@global | |
| -[/Users/Simon/.rvm/scripts/selector] : 87 : __rvm_gemset_select() > mkdir -p /Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs | |
| -[/Users/Simon/.rvm/scripts/selector] : 88 : __rvm_gemset_select() > [[ -n /Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : 88 : __rvm_gemset_select() > echo /Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs | |
| -[/Users/Simon/.rvm/scripts/selector] : 88 : __rvm_gemset_select() > grep -q rvm | |
| -[/Users/Simon/.rvm/scripts/selector] : 89 : __rvm_gemset_select() > __rvm_using_gemset_globalcache | |
| -[/Users/Simon/.rvm/scripts/utility] : 1 : __rvm_using_gemset_globalcache() > /Users/Simon/.rvm/scripts/db /Users/Simon/.rvm/config/user use_gemset_globalcache | |
| -[/Users/Simon/.rvm/scripts/utility] : 1 : __rvm_using_gemset_globalcache() > grep -q '^true$' | |
| -[/Users/Simon/.rvm/scripts/utility] : 2 : __rvm_using_gemset_globalcache() > return 1 | |
| -[/Users/Simon/.rvm/scripts/selector] : -227 : __rvm_gemset_select() > export rvm_ruby_gem_path rvm_ruby_gem_home | |
| -[/Users/Simon/.rvm/scripts/selector] : -747 : __rvm_select() > [[ -n ruby ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -747 : __rvm_select() > [[ system != \r\u\b\y ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -747 : __rvm_select() > [[ default != \r\u\b\y ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -745 : __rvm_select() > [[ ! -z 1.8.6 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -744 : __rvm_select() > rvm_ruby_release_version=1 | |
| -[/Users/Simon/.rvm/scripts/selector] : -743 : __rvm_select() > rvm_ruby_major_version=1.8 | |
| -[/Users/Simon/.rvm/scripts/selector] : -743 : __rvm_select() > rvm_ruby_major_version=8 | |
| -[/Users/Simon/.rvm/scripts/selector] : -742 : __rvm_select() > rvm_ruby_minor_version=6 | |
| -[/Users/Simon/.rvm/scripts/selector] : -739 : __rvm_select() > rvm_ruby_package_name=ruby-1.8.6-p399 | |
| -[/Users/Simon/.rvm/scripts/selector] : -738 : __rvm_select() > rvm_ruby_home=/Users/Simon/.rvm/rubies/ruby-1.8.6-p399 | |
| -[/Users/Simon/.rvm/scripts/selector] : -737 : __rvm_select() > rvm_ruby_binary=/Users/Simon/.rvm/rubies/ruby-1.8.6-p399/bin/ruby | |
| -[/Users/Simon/.rvm/scripts/selector] : -736 : __rvm_select() > rvm_ruby_irbrc=/Users/Simon/.rvm/rubies/ruby-1.8.6-p399/.irbrc | |
| -[/Users/Simon/.rvm/scripts/selector] : -734 : __rvm_select() > [[ maglev = \r\u\b\y ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -729 : __rvm_select() > rvm_ruby_gem_home=/Users/Simon/.rvm/gems/ruby-1.8.6-p399 | |
| -[/Users/Simon/.rvm/scripts/selector] : -727 : __rvm_select() > [[ ! -z chiangs ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -726 : __rvm_select() > rvm_ruby_gem_home=/Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs | |
| -[/Users/Simon/.rvm/scripts/selector] : -725 : __rvm_select() > rvm_ruby_gem_path=/Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs:/Users/Simon/.rvm/gems/ruby-1.8.6-p399@global | |
| -[/Users/Simon/.rvm/scripts/selector] : -722 : __rvm_select() > rvm_ruby_global_gems_path=/Users/Simon/.rvm/gems/ruby-1.8.6-p399@global | |
| -[/Users/Simon/.rvm/scripts/selector] : -721 : __rvm_select() > rvm_ruby_gem_path=/Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs:/Users/Simon/.rvm/gems/ruby-1.8.6-p399@global | |
| -[/Users/Simon/.rvm/scripts/selector] : -719 : __rvm_select() > rvm_ruby_selected_flag=1 | |
| -[/Users/Simon/.rvm/scripts/selector] : -717 : __rvm_select() > [[ ! -d {rvm_log_path:-/Users/Simon/.rvm/log}/ruby-1.8.6-p399 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -716 : __rvm_select() > mkdir -p /Users/Simon/.rvm/log/ruby-1.8.6-p399 | |
| env | awk -F= -v ORS=' ' '/^rvm_/{print $1}' | |
| --[/Users/Simon/.rvm/scripts/selector] : -958 : __rvm_select() > env | |
| --[/Users/Simon/.rvm/scripts/selector] : -958 : __rvm_select() > awk -F= -v 'ORS= ' '/^rvm_/{print $1}' | |
| -[/Users/Simon/.rvm/scripts/selector] : -713 : __rvm_select() > export rvm_head_flag rvm_ruby_gem_home rvm_ruby_gem_path rvm_create_flag rvm_path rvm_debug_flag rvm_trace_flag rvm_interactive_flag rvm_version | |
| -[/Users/Simon/.rvm/scripts/selector] : -701 : __rvm_use() > [[ -z ruby ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -699 : __rvm_use() > [[ system = \r\u\b\y ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -664 : __rvm_use() > GEM_HOME=/Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs | |
| -[/Users/Simon/.rvm/scripts/selector] : -663 : __rvm_use() > GEM_PATH=/Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs:/Users/Simon/.rvm/gems/ruby-1.8.6-p399@global | |
| -[/Users/Simon/.rvm/scripts/selector] : -662 : __rvm_use() > BUNDLE_PATH=/Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs | |
| -[/Users/Simon/.rvm/scripts/selector] : -661 : __rvm_use() > MY_RUBY_HOME=/Users/Simon/.rvm/rubies/ruby-1.8.6-p399 | |
| -[/Users/Simon/.rvm/scripts/selector] : -660 : __rvm_use() > RUBY_VERSION=ruby-1.8.6-p399 | |
| -[/Users/Simon/.rvm/scripts/selector] : -659 : __rvm_use() > IRBRC=/Users/Simon/.rvm/rubies/ruby-1.8.6-p399/.irbrc | |
| -[/Users/Simon/.rvm/scripts/selector] : -657 : __rvm_use() > export GEM_HOME GEM_PATH BUNDLE_PATH MY_RUBY_HOME RUBY_VERSION IRBRC | |
| -[/Users/Simon/.rvm/scripts/selector] : -655 : __rvm_use() > IRBRC=/Users/Simon/.rvm/rubies/ruby-1.8.6-p399/.irbrc | |
| -[/Users/Simon/.rvm/scripts/selector] : -655 : __rvm_use() > [[ -z /Users/Simon/.rvm/rubies/ruby-1.8.6-p399/.irbrc ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -653 : __rvm_use() > [[ ! -d /Users/Simon/.rvm/rubies/ruby-1.8.6-p399 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -639 : __rvm_use() > __rvm_ensure_has_environment_files | |
| -[/Users/Simon/.rvm/scripts/utility] : 1 : __rvm_ensure_has_environment_files() > local environment_identifier file_name directory_name wrapper_identifier variable value | |
| __rvm_environment_identifier | |
| --[/Users/Simon/.rvm/scripts/utility] : -903 : __rvm_ensure_has_environment_files() > __rvm_environment_identifier | |
| --[/Users/Simon/.rvm/scripts/utility] : 2 : __rvm_environment_identifier() > local path string | |
| --[/Users/Simon/.rvm/scripts/utility] : 4 : __rvm_environment_identifier() > path=/Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs | |
| --[/Users/Simon/.rvm/scripts/utility] : 6 : __rvm_environment_identifier() > string=ruby-1.8.6-p399@chiangs | |
| --[/Users/Simon/.rvm/scripts/utility] : 7 : __rvm_environment_identifier() > string=ruby-1.8.6-p399@chiangs | |
| --[/Users/Simon/.rvm/scripts/utility] : 9 : __rvm_environment_identifier() > echo ruby-1.8.6-p399@chiangs | |
| --[/Users/Simon/.rvm/scripts/utility] : 11 : __rvm_environment_identifier() > return 0 | |
| -[/Users/Simon/.rvm/scripts/utility] : 3 : __rvm_ensure_has_environment_files() > environment_identifier=ruby-1.8.6-p399@chiangs | |
| -[/Users/Simon/.rvm/scripts/utility] : 5 : __rvm_ensure_has_environment_files() > file_name=/Users/Simon/.rvm/environments/ruby-1.8.6-p399@chiangs | |
| -[/Users/Simon/.rvm/scripts/utility] : 7 : __rvm_ensure_has_environment_files() > [[ ! -s /Users/Simon/.rvm/environments/ruby-1.8.6-p399@chiangs ]] | |
| -[/Users/Simon/.rvm/scripts/utility] : 28 : __rvm_ensure_has_environment_files() > [[ 0 -eq 1 ]] | |
| -[/Users/Simon/.rvm/scripts/utility] : 46 : __rvm_ensure_has_environment_files() > return 0 | |
| -[/Users/Simon/.rvm/scripts/selector] : -582 : __rvm_use() > [[ 1 -gt 0 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -581 : __rvm_use() > /Users/Simon/.rvm/scripts/log info 'Using /Users/Simon/.rvm/gems/ruby-1.8.6-p399 with gemset chiangs' | |
| Using /Users/Simon/.rvm/gems/ruby-1.8.6-p399 with gemset chiangs | |
| __rvm_remove_rvm_from_path ; printf "$PATH" | |
| --[/Users/Simon/.rvm/scripts/selector] : -903 : __rvm_use() > __rvm_remove_rvm_from_path | |
| echo ${PATH} | awk -v RS=: -v ORS=: "/${rvm_path//\//\/}/ {next} {print}" | |
| ---[/Users/Simon/.rvm/scripts/utility] : -218 : __rvm_remove_rvm_from_path() > echo /Users/Simon/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/instantclient-10.2 | |
| ---[/Users/Simon/.rvm/scripts/utility] : -218 : __rvm_remove_rvm_from_path() > awk -v RS=: -v ORS=: '/\/Users\/Simon\/.rvm/ {next} {print}' | |
| --[/Users/Simon/.rvm/scripts/utility] : 1 : __rvm_remove_rvm_from_path() > PATH='/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/instantclient-10.2 | |
| :' | |
| --[/Users/Simon/.rvm/scripts/utility] : 3 : __rvm_remove_rvm_from_path() > export PATH | |
| --[/Users/Simon/.rvm/scripts/utility] : 5 : __rvm_remove_rvm_from_path() > builtin hash -r | |
| --[/Users/Simon/.rvm/scripts/selector] : -218 : __rvm_use() > printf '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/instantclient-10.2 | |
| :' | |
| -[/Users/Simon/.rvm/scripts/selector] : -578 : __rvm_use() > new_path='/Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs/bin:/Users/Simon/.rvm/gems/ruby-1.8.6-p399@global/bin:/Users/Simon/.rvm/rubies/ruby-1.8.6-p399/bin:/Users/Simon/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/instantclient-10.2 | |
| :' | |
| -[/Users/Simon/.rvm/scripts/selector] : -574 : __rvm_use() > [[ -n ruby-1.8.6-p399 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -574 : __rvm_use() > export rvm_ruby_string | |
| -[/Users/Simon/.rvm/scripts/selector] : -572 : __rvm_use() > [[ -n chiangs ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -572 : __rvm_use() > export rvm_gemset_name | |
| -[/Users/Simon/.rvm/scripts/selector] : -570 : __rvm_use() > [[ -n /Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs/bin:/Users/Simon/.rvm/gems/ruby-1.8.6-p399@global/bin:/Users/Simon/.rvm/rubies/ruby-1.8.6-p399/bin:/Users/Simon/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/instantclient-10.2 | |
| : ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -569 : __rvm_use() > export 'PATH=/Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs/bin:/Users/Simon/.rvm/gems/ruby-1.8.6-p399@global/bin:/Users/Simon/.rvm/rubies/ruby-1.8.6-p399/bin:/Users/Simon/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/instantclient-10.2 | |
| :' | |
| -[/Users/Simon/.rvm/scripts/selector] : -569 : __rvm_use() > PATH='/Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs/bin:/Users/Simon/.rvm/gems/ruby-1.8.6-p399@global/bin:/Users/Simon/.rvm/rubies/ruby-1.8.6-p399/bin:/Users/Simon/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/instantclient-10.2 | |
| :' | |
| -[/Users/Simon/.rvm/scripts/selector] : -568 : __rvm_use() > unset new_path | |
| -[/Users/Simon/.rvm/scripts/selector] : -567 : __rvm_use() > builtin hash -r | |
| -[/Users/Simon/.rvm/scripts/selector] : -564 : __rvm_use() > [[ 0 -eq 1 ]] | |
| __rvm_environment_identifier | |
| --[/Users/Simon/.rvm/scripts/selector] : -903 : __rvm_use() > __rvm_environment_identifier | |
| --[/Users/Simon/.rvm/scripts/utility] : 2 : __rvm_environment_identifier() > local path string | |
| --[/Users/Simon/.rvm/scripts/utility] : 4 : __rvm_environment_identifier() > path=/Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs | |
| --[/Users/Simon/.rvm/scripts/utility] : 6 : __rvm_environment_identifier() > string=ruby-1.8.6-p399@chiangs | |
| --[/Users/Simon/.rvm/scripts/utility] : 7 : __rvm_environment_identifier() > string=ruby-1.8.6-p399@chiangs | |
| --[/Users/Simon/.rvm/scripts/utility] : 9 : __rvm_environment_identifier() > echo ruby-1.8.6-p399@chiangs | |
| --[/Users/Simon/.rvm/scripts/utility] : 11 : __rvm_environment_identifier() > return 0 | |
| -[/Users/Simon/.rvm/scripts/selector] : -562 : __rvm_use() > local environment_id=ruby-1.8.6-p399@chiangs | |
| -[/Users/Simon/.rvm/scripts/selector] : -560 : __rvm_use() > [[ 0 -eq 1 ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -534 : __rvm_use() > rvm_default_flag=0 | |
| -[/Users/Simon/.rvm/scripts/selector] : -532 : __rvm_use() > [[ -n '' ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -527 : __rvm_use() > [[ -n '' ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -520 : __rvm_use() > [[ maglev = \r\u\b\y ]] | |
| -[/Users/Simon/.rvm/scripts/selector] : -511 : __rvm_use() > rvm_hook=after_use | |
| -[/Users/Simon/.rvm/scripts/selector] : -511 : __rvm_use() > source /Users/Simon/.rvm/scripts/hook | |
| #!/usr/bin/env bash | |
| declare rvm_verbose_flag=${rvm_verbose_flag:-0} | |
| --[/Users/Simon/.rvm/scripts/hook] : -901 : source() > declare rvm_verbose_flag=1 | |
| declare rvm_hook=${rvm_hook:-""} | |
| --[/Users/Simon/.rvm/scripts/hook] : -900 : source() > declare rvm_hook=after_use | |
| if [[ -n "$rvm_hook" ]] ; then | |
| if [[ -s "$rvm_path/hooks/$rvm_hook" ]] ; then | |
| if [[ ${rvm_verbose_flag:-0} -gt 0 || ${rvm_debug_flag:-0} -gt 0 ]] ; then | |
| "$rvm_path/scripts/log" "info" "running hook $rvm_hook" | |
| fi | |
| source "$rvm_path/hooks/$rvm_hook" | |
| fi | |
| fi | |
| --[/Users/Simon/.rvm/scripts/hook] : -898 : source() > [[ -n after_use ]] | |
| --[/Users/Simon/.rvm/scripts/hook] : -897 : source() > [[ -s /Users/Simon/.rvm/hooks/after_use ]] | |
| unset rvm_hook | |
| --[/Users/Simon/.rvm/scripts/hook] : -890 : source() > unset rvm_hook | |
| -[/Users/Simon/.rvm/scripts/selector] : -509 : __rvm_use() > return 0 | |
| -[/Users/Simon/.rvm/scripts/cli] : -158 : rvm() > result=0 | |
| -[/Users/Simon/.rvm/scripts/cli] : -156 : rvm() > [[ 0 -eq 1 ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : -145 : rvm() > __rvm_teardown | |
| -[/Users/Simon/.rvm/scripts/utility] : 1 : __rvm_teardown() > [[ -n '' ]] | |
| -[/Users/Simon/.rvm/scripts/utility] : 10 : __rvm_teardown() > : | |
| -[/Users/Simon/.rvm/scripts/utility] : 17 : __rvm_teardown() > [[ 0 -gt 0 ]] | |
| -[/Users/Simon/.rvm/scripts/utility] : 31 : __rvm_teardown() > unset rvm_ruby_strings rvm_head_flag rvm_prior_cc next_token rvm_bin_path rvm_error_message rvm_gems_cache_path rvm_gems_path rvm_gemset_name rvm_interactive_flag rvm_man_path rvm_parse_break rvm_rc_files rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_gem_path rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_log_path 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_revision rvm_ruby_selected_flag rvm_ruby_string rvm_ruby_tag rvm_ruby_version rvm_selfcontained rvm_token | |
| -[/Users/Simon/.rvm/scripts/utility] : 34 : __rvm_teardown() > [[ 0 -eq 1 ]] | |
| -[/Users/Simon/.rvm/scripts/utility] : 36 : __rvm_teardown() > return 0 | |
| -[/Users/Simon/.rvm/scripts/cli] : 745 : rvm() > [[ 1 -eq 1 ]] | |
| -[/Users/Simon/.rvm/scripts/cli] : 746 : rvm() > set +x | |
| % echo $PATH | |
| echo $PATH | |
| /Users/Simon/.rvm/gems/ruby-1.8.6-p399@chiangs/bin:/Users/Simon/.rvm/gems/ruby-1.8.6-p399@global/bin:/Users/Simon/.rvm/rubies/ruby-1.8.6-p399/bin:/Users/Simon/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/instantclient-10.2 : | |
| % |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rvm/rvm@7d38a45