D
Derek Smith
I am running cygwin with ruby version ruby 1.8.7 (2008-08-11 patchlevel
72) [i386-cygwin]
When I installed zipruby I noticed this:
make install
mkdir -p /usr/lib/ruby/gems/1.8/gems/gems/gems/zipruby-0.2.9/lib
/usr/bin/install -c -m 0755 zipruby.so
/usr/lib/ruby/gems/1.8/gems/gems/gems/zipruby-0.2.9/lib
Why do I have three gems subdirs? And where should all my gems be
centrally located and what should $GEM_HOME be? I would think it would
be one location for my situation...my home laptop used for ruby coding
for my night work apart from my full time job.
Also: I installed rubygems, but I am still seeing this below"
$ irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'zip/zip'
=> true
irb(main):003:0> require 'rubygems'
=> false
irb(main):004:0>
Smith@smith-laptop /usr/lib/ruby/gems/1.8/gems
$ gem list --local
*** LOCAL GEMS ***
appinstaller (0.0.1)
httparty (0.3.1)
rubygems-update (1.3.2, 1.3.1)
rubyzip (0.9.1)
tags4free (0.1.3)
ziplookup (1.0.0)
Smith@smith-laptop /usr/lib/ruby/gems/1.8/gems
$ echo $GEM_HOME
/usr/lib/ruby/gems/1.8/gems/gems
thank you!
72) [i386-cygwin]
When I installed zipruby I noticed this:
make install
mkdir -p /usr/lib/ruby/gems/1.8/gems/gems/gems/zipruby-0.2.9/lib
/usr/bin/install -c -m 0755 zipruby.so
/usr/lib/ruby/gems/1.8/gems/gems/gems/zipruby-0.2.9/lib
Why do I have three gems subdirs? And where should all my gems be
centrally located and what should $GEM_HOME be? I would think it would
be one location for my situation...my home laptop used for ruby coding
for my night work apart from my full time job.
Also: I installed rubygems, but I am still seeing this below"
$ irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'zip/zip'
=> true
irb(main):003:0> require 'rubygems'
=> false
irb(main):004:0>
Smith@smith-laptop /usr/lib/ruby/gems/1.8/gems
$ gem list --local
*** LOCAL GEMS ***
appinstaller (0.0.1)
httparty (0.3.1)
rubygems-update (1.3.2, 1.3.1)
rubyzip (0.9.1)
tags4free (0.1.3)
ziplookup (1.0.0)
Smith@smith-laptop /usr/lib/ruby/gems/1.8/gems
$ echo $GEM_HOME
/usr/lib/ruby/gems/1.8/gems/gems
thank you!