Prev: Populate lat/lon data from street address with dm-geokit
Next: any way to use RSA1 for ssh in ruby?
From: Parv G. on 8 Apr 2010 10:57 Hi, It seems like my gems are not being loaded, i.e. when i require a gem i get an error "no such file to load.." I still get this error even if i do: $LOAD_PATH << "/Library/Ruby/Gems/1.8/gems" require 'ruby-debug' This is happening for all of the gems i have installed. env: mac os x 10.5.6 ruby 1.8.6 patch 114 rubygems: 1.3.5 any thoughts? -- Posted via http://www.ruby-forum.com/.
From: Florian Gilcher on 8 Apr 2010 11:11 On Apr 8, 2010, at 4:57 PM, Parv G. wrote: > Hi, > > It seems like my gems are not being loaded, i.e. when i require a gem i > get an error "no such file to load.." > > I still get this error even if i do: > > $LOAD_PATH << "/Library/Ruby/Gems/1.8/gems" > require 'ruby-debug' > > This is happening for all of the gems i have installed. > > env: > mac os x 10.5.6 > ruby 1.8.6 patch 114 > rubygems: 1.3.5 Did you load rubygems? Have you tried using: require 'rubygems' or better: ruby -rubygems your_script.rb Adding /Library/Ruby/Gems/1.8/gems to you LOAD_PATH won't help you, as Rubygems manages the LOAD_PATH itself (and in a different way). Regards, Florian Gilcher
|
Pages: 1 Prev: Populate lat/lon data from street address with dm-geokit Next: any way to use RSA1 for ssh in ruby? |