1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
##### Error output 
jseidel@EDP15:~/Dev/page_title_helper$ rvm gem list

*** LOCAL GEMS ***

aruba (0.4.9)
builder (3.0.0)
childprocess (0.2.3)
cucumber (1.1.4)
diff-lcs (1.1.3)
ffi (1.0.11)
gherkin (2.7.1)
json (1.6.3)
rspec (2.7.0)
rspec-core (2.7.1)
rspec-expectations (2.7.0)
rspec-mocks (2.7.0)
term-ansicolor (1.0.7)
ERROR:  Loading command: list (LoadError)
    no such file to load -- zlib
ERROR:  While executing gem ... (NameError)
    uninitialized constant Gem::Commands::ListCommand

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.0.9, 3.0.6, 3.0.5)
actionpack (3.0.9, 3.0.6, 3.0.5)
activemodel (3.0.9, 3.0.6, 3.0.5)
activerecord (3.0.9, 3.0.6, 3.0.5)
activeresource (3.0.9, 3.0.6, 3.0.5)
activesupport (3.0.9, 3.0.6, 3.0.5)
archive-tar-minitar (0.5.2)
<snip... runs to normal completion>

### rvm debug output
jseidel@EDP15:~/Dev/Rails-View-Helper-Objects$ rvm debug

ruby-1.9.2-p180:



rvm 1.8.1 by Wayne E. Seguin ([email protected]) [https://rvm.beginrescueend.com/]

ruby-1.9.2-p180:

  system:
    uname:       "Linux EDP15 2.6.32-35-generic #78-Ubuntu SMP Tue Oct 11 16:11:24 UTC 2011 x86_64 GNU/Linux"
    bash:        "/bin/bash => GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu)"
    zsh:         " => not installed"

  rvm:
    version:      "rvm 1.8.1 by Wayne E. Seguin ([email protected]) [https://rvm.beginrescueend.com/]"

  ruby:
    interpreter:  "ruby"
    version:      "1.9.2p180"
    date:         "2011-02-18"
    platform:     "x86_64-linux"
    patchlevel:   "2011-02-18 revision 30909"
    full_version: "ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]"

  homes:
    gem:          "/home/jseidel/.rvm/gems/ruby-1.9.2-p180"
    ruby:         "/home/jseidel/.rvm/rubies/ruby-1.9.2-p180"

  binaries:
    ruby:         "/home/jseidel/.rvm/rubies/ruby-1.9.2-p180/bin/ruby"
    irb:          "/home/jseidel/.rvm/rubies/ruby-1.9.2-p180/bin/irb"
    gem:          "/home/jseidel/.rvm/rubies/ruby-1.9.2-p180/bin/gem"
    rake:         "/var/lib/gems/1.8/bin/rake"

  environment:
    PATH:         "/home/jseidel/bin:/home/jseidel/rds/bin:/var/lib/gems/1.8/bin:/home/jseidel/.rvm/gems/ruby-1.9.2-p180/bin:/home/jseidel/.rvm/gems/ruby-1.9.2-p180@global/bin:/home/jseidel/.rvm/rubies/ruby-1.9.2-p180/bin:/home/jseidel/.rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
    GEM_HOME:     "/home/jseidel/.rvm/gems/ruby-1.9.2-p180"
    GEM_PATH:     "/home/jseidel/.rvm/gems/ruby-1.9.2-p180:/home/jseidel/.rvm/gems/ruby-1.9.2-p180@global"
    MY_RUBY_HOME: "/home/jseidel/.rvm/rubies/ruby-1.9.2-p180"
    IRBRC:        "/home/jseidel/.rvm/rubies/ruby-1.9.2-p180/.irbrc"
    RUBYOPT:      ""
    gemset:       ""
  PATH:
/home/jseidel/bin:/home/jseidel/rds/bin:/var/lib/gems/1.8/bin:/home/jseidel/.rvm/gems/ruby-1.9.2-p18
0/bin:/home/jseidel/.rvm/gems/ruby-1.9.2-p180@global/bin
  uname -a: Linux EDP15 2.6.32-35-generic #78-Ubuntu SMP Tue Oct 11 16:11:24 UTC 2011 x86_64 GNU/Linux
  permissions: /home/jseidel/.rvm:
total 120
drwxr-xr-x 24 jseidel jseidel  4096 2011-09-02 15:30 .
drwxr-xr-x 99 jseidel jseidel 12288 2011-12-13 07:54 ..
drwxr-xr-x  2 jseidel jseidel  4096 2011-09-02 15:30 archives
drwxr-xr-x  2 jseidel jseidel  4096 2011-09-02 15:36 bin
drwxr-xr-x  2 jseidel jseidel  4096 2011-09-02 15:36 config
drwxr-xr-x  3 jseidel jseidel  4096 2011-04-09 14:31 contrib
drwxr-xr-x  2 jseidel jseidel  4096 2011-09-02 15:36 environments
drwxr-xr-x  2 jseidel jseidel  4096 2010-12-28 09:41 examples
drwxr-xr-x 16 jseidel jseidel  4096 2011-08-31 16:40 gems
drwxr-xr-x  6 jseidel jseidel  4096 2010-12-28 09:41 gemsets
drwxr-xr-x  2 jseidel jseidel  4096 2011-09-02 15:30 help
drwxr-xr-x  2 jseidel jseidel  4096 2011-09-02 15:30 hooks
drwxr-xr-x  3 jseidel jseidel  4096 2010-12-28 09:41 lib
-rw-r--r--  1 jseidel jseidel   566 2011-09-02 15:30 LICENCE
drwxr-xr-x  9 jseidel jseidel  4096 2011-04-26 17:10 log
drwxr-xr-x  3 jseidel jseidel  4096 2011-04-09 14:32 man
drwxr-xr-x  6 jseidel jseidel  4096 2011-09-02 15:30 patches
-rw-r--r--  1 jseidel jseidel  7978 2011-09-02 15:30 README
drwxr-xr-x  4 jseidel jseidel  4096 2010-12-28 09:54 repos
drwxr-xr-x  5 jseidel jseidel  4096 2011-09-02 15:36 rubies
drwxr-xr-x  5 jseidel jseidel  4096 2011-09-02 15:30 scripts
drwxr-xr-x 10 jseidel jseidel  4096 2011-09-02 15:30 src
drwxr-xr-x  2 jseidel jseidel  4096 2011-04-26 17:11 tmp
drwxr-xr-x  2 jseidel jseidel  4096 2011-09-02 22:22 user
drwxr-xr-x  5 jseidel jseidel  4096 2010-12-28 10:23 usr
-rw-r--r--  1 jseidel jseidel     6 2011-09-02 15:30 VERSION
drwxr-xr-x 12 jseidel jseidel  4096 2011-09-02 15:36 wrappers

/home/jseidel/.rvm/rubies:
total 20
drwxr-xr-x  5 jseidel jseidel 4096 2011-09-02 15:36 .
drwxr-xr-x 24 jseidel jseidel 4096 2011-09-02 15:30 ..
lrwxrwxrwx  1 jseidel jseidel   41 2011-09-02 15:36 default -> /home/jseidel/.rvm/rubies/ruby-1.9.2-p180
drwxr-xr-x  5 jseidel jseidel 4096 2010-12-28 09:53 ruby-1.8.7-head
drwxr-xr-x  6 jseidel jseidel 4096 2011-04-09 07:50 ruby-1.9.2-p136
drwxr-xr-x  6 jseidel jseidel 4096 2011-04-26 17:15 ruby-1.9.2-p180

/home/jseidel/.bashrc:
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"  # This loads RVM into a shell session.
/home/jseidel/.bash_profile:
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session
 *as a function*
/home/jseidel/.rvm/config/alias \(filtered\):
default=ruby-1.9.2-p180

/home/jseidel/.rvm/config/db \(filtered\):
#General
niceness=0
# Rubies
interpreter=ruby
ruby_version=1.8.7
ruby_configure_flags=--enable-shared --disable-install-doc
ruby_patchlevel=299
ruby_configure=--enable-shared
ruby_repo_url=git://github.com/ruby/ruby.git
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=https://rvm.beginrescueend.com/src
#!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.3_patch_level=preview1
ruby_1.9.2_patch_level=290
ruby_1.9.1_patch_level=431
ruby_1.8.7_patch_level=352
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=1.8.10
ruby_1.9.3_head_rubygems_version=1.8.5
rbx_version=master
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
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://rvm.beginrescueend.com/src
ree_1.8.7_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition187-330
ree_1.8.7_patch_level=2011.03
kiji_repo_url=git://github.com/twitter/rubyenterpriseedition187-248.git
kiji_version=head
jruby_version=1.6.4
jruby_repo_url=git://github.com/jruby/jruby.git
jruby_url=http://jruby.org.s3.amazonaws.com/downloads
macruby_version=0.10
macruby_nightly_version=0.11
macruby_url=http://www.macruby.org/files
macruby_repo_url=git://github.com/MacRuby/MacRuby.git
macruby_nightly_url=http://www.macruby.org/files/nightlies/macruby_nightly-latest.pkg
maglev_version=26355
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
# 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
yaml_url=https://rvm.beginrescueend.com/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

/home/jseidel/.rvmrc \(filtered\):
export rvm_pretty_print_flag=1
export rvm_path="/home/jseidel/.rvm"

/home/jseidel/.gemrc \(filtered\):
---
:backtrace: false
:benchmark: false
:bulk_threshold: 1000
:sources:
- http://gems.rubyforge.org/
- http://gems.github.com
:update_sources: true
:verbose: true

gem sources:
http://gems.rubyforge.org/
http://gems.github.com

### rvm --trace rvm gem list
jseidel@EDP15:~/Dev/Rails-View-Helper-Objects$ rvm --trace rvm gem list
+ [[ -n '' ]]
+ 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()  749 > [[ -z '' ]]
+ /scripts/cli : __rvm_parse_args()  749 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args()  751 > [[ 0 -eq 1 ]]
+ /scripts/cli : __rvm_parse_args()  751 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args()  19 > [[ -n rvm ]]
+ /scripts/cli : __rvm_parse_args()  21 > rvm_token=rvm
+ /scripts/cli : __rvm_parse_args()  23 > ((  2 > 0  ))
+ /scripts/cli : __rvm_parse_args()  25 > next_token=gem
+ /scripts/cli : __rvm_parse_args()  26 > shift
+ /scripts/cli : __rvm_parse_args()  48 > case "$rvm_token" in
+ /scripts/cli : __rvm_parse_args()  52 > case "$rvm_token" in
+ /scripts/cli : __rvm_parse_args()  354 > [[ -n rvm ]]
+ /scripts/cli : __rvm_parse_args()  358 > [[ gemset = '' ]]
+ /scripts/cli : __rvm_parse_args()  393 > case "$rvm_token" in
+ /scripts/cli : __rvm_parse_args()  442 > [[ -L /home/jseidel/.rvm/rubies/rvm ]]
+ /scripts/cli : __rvm_parse_args()  448 > rvm_action=error
+ /scripts/cli : __rvm_parse_args()  449 > rvm_error_message='Unrecognized command line argument: '\
''rvm'\'''
+ /scripts/cli : __rvm_parse_args()  460 > [[ error = \e\r\r\o\r ]]
+ /scripts/cli : __rvm_parse_args()  460 > break
+ /scripts/cli : __rvm_parse_args()  755 > [[ 1 -gt 0 ]]
+ /scripts/cli : __rvm_parse_args()  755 > shift
+ /scripts/cli : __rvm_parse_args()  755 > [[ 0 -gt 0 ]]
+ /scripts/cli : __rvm_parse_args()  757 > [[ -n Unrecognized command line argument: 'rvm' ]]
+ /scripts/cli : __rvm_parse_args()  758 > rvm_error 'Unrecognized command line argument: '\''rvm'\'
' ( see: '\''rvm usage'\'' )'
++ /scripts/functions/logging : rvm_error()  -10 > tput setaf 1
++ /scripts/functions/logging : rvm_error()  -10 > tput sgr0
+ /scripts/functions/logging : rvm_error()  0 > printf 'ERROR: Unrecognized command line argument: '
\''rvm'\'' ( see: '\''rvm usage'\'' )\n'
ERROR: Unrecognized command line argument: 'rvm' ( see: 'rvm usage' )
+ /scripts/cli : __rvm_parse_args()  765 > return 1
+ /scripts/cli : rvm()  804 > [[ 1 -gt 0 ]]
+ /scripts/cli : rvm()  805 > result=0
+ /scripts/cli : rvm()  806 > return 0
jseidel@EDP15:~/Dev/Rails-View-Helper-Objects$