From: Christopher Dicely Date: 2008-04-02T14:24:29+09:00 Subject: Re: Can't get gems to work (1.9, Windows) On Tue, Apr 1, 2008 at 6:35 PM, wrote: > Hi, > > I can't get gems to work in my 1.9 install. Can anyone help? > > The gem command worked ('gem install log4r'), but when I try to > include it from a script, I just get 'no such file to load'. > > The gem got installed into the directory 'c:\LAN'. Does that seem > correct? > > If I use filemon or procmon while running my script, I notice that > Ruby is *only* searching the directories under c:\ruby-1.9\lib\ruby. > > I've tried changing RUBYOPTS, GEM_PATH, GEM_HOME, to no avail. > > Jana Ruby Gems seems to have a broken default install-dir in the released Windows build of 1.9; other comments I've seen suggest that using an explicit --install-dir pointing to the right directory should solve that problem.