From: James Britt Date: 2006-07-31T04:52:20+09:00 Subject: Re: cgi vs. fcgi question Tom Allison wrote: > James Britt wrote: > >> Tom Allison wrote: >> >>> >>> I'm literally at step 0. > > >> gem help >> >> to learn more. And ask questions here, too, if you try but cannot >> figure something out. >> >> > > I started playing with this and ran into a lack of PATH (I guess). > require doesn't find the library I just installed. > ri doesn't either, but someone mentioned gemri instead. Does your code include require 'rubygems' before you try to load files installed as gems? You can also define that on the command line: ruby -rubygems my_app.rb or add it to your RUBYOPT environment variable e.g. RUBYOPT=rubygems But one why or another you need to tell Ruby that it should load the rubygems library first, and that then takes care of looking for gem files. > > I guess this puts me at step 0.0.1? > > Oh, I say at least 0.1. -- James Britt "I was born not knowing and have had only a little time to change that here and there." - Richard P. Feynman