Date: Wed, 7 Apr 2010 16:48:26 +1000 From: Anthony Winning <awinning@bingmail.com.au> To: freebsd-ruby@freebsd.org Subject: Gem Path Message-ID: <201004071648.26247.awinning@bingmail.com.au>
next in thread | raw e-mail | index | archive | help
Hello, We're running FreeBSD 7.2 with a freshly synced version of the ports tree. What we have noticed when installing ruby19 from ports is that according=20 to 'gem19 environment' the gem path is '/usr/local/lib/ruby19/gems/1.9'. It would appear that only gem19 is using this path. For example irb19 is=20 looking in '/usr/local/lib/ruby/1.9'. The question we are wondering is, which is correct? Thanks... gem environment output: [anthonyw@mippet ~]$ gem19 environment RubyGems Environment: - RUBYGEMS VERSION: 1.3.6 - RUBY VERSION: 1.9.1 (2009-12-07 patchlevel 376) [i386-freebsd7] - INSTALLATION DIRECTORY: /usr/local/lib/ruby19/gems/1.9 - RUBY EXECUTABLE: /usr/local/bin/ruby19 - EXECUTABLE DIRECTORY: /usr/local/bin - RUBYGEMS PLATFORMS: - ruby - x86-freebsd-7 - GEM PATHS: - /usr/local/lib/ruby19/gems/1.9 - /usr/users/anthonyw/.gem/ruby/1.9 irb19 output: [anthonyw@mippet ~]$ irb19 irb(main):001:0> $: =3D>=20 ["/usr/local/lib/ruby/gems/1.9/gems/actionmailer-2.3.5/lib", "/usr/local/li= b/ruby/gems/1.9/gems/actionpack-2.3.5/lib", "/usr/local/lib/ruby/gems/1.9/g= ems/activerecord-2.3.5/lib", "/usr/local/lib/ruby/gems/1.9/gems/activeresou= rce-2.3.5/lib", "/usr/local/lib/ruby/gems/1.9/gems/activesupport-2.3.5/lib"= , "/usr/local/lib/ruby/gems/1.9/gems/amqp-0.6.7/lib", "/usr/local/lib/ruby/= gems/1.9/gems/capistrano-2.5.18/bin", "/usr/local/lib/ruby/gems/1.9/gems/ca= pistrano-2.5.18/lib", "/usr/local/lib/ruby/gems/1.9/gems/cgi_multipart_eof_= fix-2.5.0/lib", "/usr/local/lib/ruby/gems/1.9/gems/daemons-1.0.10/lib", "/u= sr/local/lib/ruby/gems/1.9/gems/eventmachine-0.12.10/lib", "/usr/local/lib/= ruby/gems/1.9/gems/fastthread-1.0.7/lib", "/usr/local/lib/ruby/gems/1.9/gem= s/fastthread-1.0.7/ext", "/usr/local/lib/ruby/gems/1.9/gems/fastthread-1.0.= 7/bin", "/usr/local/lib/ruby/gems/1.9/gems/gem_plugin-0.2.3/bin", "/usr/loc= al/lib/ruby/gems/1.9/gems/gem_plugin-0.2.3/lib", "/usr/local/lib/ruby/gems/= 1.9/gems/highline-1.5.2/lib", "/usr/local/lib/ruby/gems/1.9/gems/json-1.2.3= /ext/json/ext", "/usr/local/lib/ruby/gems/1.9/gems/json-1.2.3/ext", "/usr/l= ocal/lib/ruby/gems/1.9/gems/json-1.2.3/lib", "/usr/local/lib/ruby/gems/1.9/= gems/json-1.2.3/bin", "/usr/local/lib/ruby/gems/1.9/gems/json_pure-1.2.3/bi= n", "/usr/local/lib/ruby/gems/1.9/gems/json_pure-1.2.3/lib", "/usr/local/li= b/ruby/gems/1.9/gems/mongo-0.19.1/bin", "/usr/local/lib/ruby/gems/1.9/gems/= mongo-0.19.1/lib", "/usr/local/lib/ruby/gems/1.9/gems/mongo_ext-0.19.1/ext"= , "/usr/local/lib/ruby/gems/1.9/gems/mongo_ext-0.19.1/bin", "/usr/local/lib= /ruby/gems/1.9/gems/mongrel-1.1.5/bin", "/usr/local/lib/ruby/gems/1.9/gems/= mongrel-1.1.5/lib", "/usr/local/lib/ruby/gems/1.9/gems/mq-0.1.3/lib", "/usr= /local/lib/ruby/gems/1.9/gems/net-scp-1.0.2/lib", "/usr/local/lib/ruby/gems= /1.9/gems/net-sftp-2.0.4/lib", "/usr/local/lib/ruby/gems/1.9/gems/net-ssh-2= =2E0.21/lib", "/usr/local/lib/ruby/gems/1.9/gems/net-ssh-gateway-1.0.1/lib"= , "/usr/local/lib/ruby/gems/1.9/gems/oracle_enhanced-1.2.5/lib", "/usr/loca= l/lib/ruby/gems/1.9/gems/rack-1.1.0/bin", "/usr/local/lib/ruby/gems/1.9/gem= s/rack-1.1.0/lib", "/usr/local/lib/ruby/gems/1.9/gems/rails-2.3.5/bin", "/u= sr/local/lib/ruby/gems/1.9/gems/rails-2.3.5/lib", "/usr/local/lib/ruby/gems= /1.9/gems/rake-0.8.7/bin", "/usr/local/lib/ruby/gems/1.9/gems/rake-0.8.7/li= b", "/usr/local/lib/ruby/gems/1.9/gems/rcov-0.9.8/bin", "/usr/local/lib/rub= y/gems/1.9/gems/rcov-0.9.8/lib", "/usr/local/lib/ruby/gems/1.9/gems/rspec-1= =2E3.0/bin", "/usr/local/lib/ruby/gems/1.9/gems/rspec-1.3.0/lib", "/usr/loc= al/lib/ruby/gems/1.9/gems/ruby-plsql-0.4.2/lib", "/usr/local/lib/ruby/gems/= 1.9/gems/rubygems-update-1.3.6/hide_lib_for_update", "/usr/local/lib/ruby/g= ems/1.9/gems/rubygems-update-1.3.6/bin", "/usr/local/lib/ruby/gems/1.9/gems= /sinatra-1.0/lib", "/usr/local/lib/ruby/gems/1.9/gems/sqlite3-ruby-1.2.5/li= b", "/usr/local/lib/ruby/gems/1.9/gems/unicode_utils-1.0.0/lib", "/usr/loca= l/lib/ruby/gems/1.9/gems/rubyforge-2.0.4/bin", "/usr/local/lib/ruby/gems/1.= 9/gems/rubyforge-2.0.4/lib", "/usr/local/lib/ruby/gems/1.9/gems/hoe-2.6.0/b= in", "/usr/local/lib/ruby/gems/1.9/gems/hoe-2.6.0/lib", "/usr/local/lib/rub= y/gems/1.9/gems/test-unit-1.2.3/bin", "/usr/local/lib/ruby/gems/1.9/gems/te= st-unit-1.2.3/lib", "/usr/local/lib/ruby/site_ruby/1.9", "/usr/local/lib/ru= by/site_ruby/1.9/i386-freebsd7", "/usr/local/lib/ruby/site_ruby", "/usr/loc= al/lib/ruby/vendor_ruby/1.9", "/usr/local/lib/ruby/vendor_ruby/1.9/i386-fre= ebsd7", "/usr/local/lib/ruby/vendor_ruby", "/usr/local/lib/ruby/1.9", "/usr= /local/lib/ruby/1.9/i386-freebsd7", "."] irb(main):002:0>=20 - GEM CONFIGURATION: - :update_sources =3D> true - :verbose =3D> true - :benchmark =3D> false - :backtrace =3D> false - :bulk_threshold =3D> 1000 - REMOTE SOURCES: - http://rubygems.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004071648.26247.awinning>