From: Florian Gilcher Date: 2010-04-09T00:11:54+09:00 Subject: Re: gems not loading on mac 10.5.6 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