From: Tanner Burson Date: 2006-02-04T00:07:28+09:00 Subject: Re: [ANN] Mongrel HTTP Library 0.2.2 (Serving Directories) ------=_Part_5443_20537718.1138979230548 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 2/3/06, zedshaw@zedshaw.com wrote: > > Did you make sure to require rubygems first? Here's my install: > > [zedshaw@dinky ~]$ irb -rubygems > irb(main):001:0> require 'mongrel' > =3D> true > irb(main):002:0> > [zedshaw@dinky ~]$ > irb(main):001:0> require 'rubygems' > =3D> true > irb(main):002:0> require 'mongrel' > =3D> true > [zedshaw@dinky ~]$ irb > irb(main):001:0> require 'mongrel' > LoadError: no such file to load -- http11 > from ./mongrel.rb:2:in `require' > from ./mongrel.rb:2 > from (irb):1 > irb(main):002:0> > > If you do irb -rubygems then it works. If you require 'rubygems' first it > works. If you do neither it blows up. > > Let me know if that fixes it for you. > > Zed A. Shaw > http://www.zedshaw.com/ Nope, different error now. (Other gems work just fine, so I don't think it's my gem install) irb(main):001:0> require 'rubygems' =3D> true irb(main):002:0> require 'mongrel' NameError: uninitialized constant Mongrel from ./mongrel.rb:4 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require= ' from (irb):2 irb(main):003:0> > On 2/3/06, Tanner Burson wrote: > >> Like Daniel Sheppard in the previous version I'm getting errors when > >> attempting the following on windows: > >> > >> irb(main):001:0> require_gem 'mongrel' > >> =3D> true > >> irb(main):002:0> p Mongrel > >> NameError: uninitialized constant Mongrel > >> from (irb):2 > >> irb(main):003:0> > >> > >> Looking at the gem install itself, everything seems to have been > created > >> correctly. I have a mongrel.rb in mongrel's lib dir, just can't seem > to > >> get it to actually LOAD correctly. Any help would be great. > >> > >> > > > > Sorry for the double post, but as it turns out I get an Identical error > on > > my Debian box as well, so something in the install seems to be a bit > > fubar'd. > > > > -- > > =3D=3D=3DTanner Burson=3D=3Dtanner.burson@gmail.com > > http://tannerburson.com <---Might even work one day... > > > > > > -- =3D=3D=3DTanner Burson=3D=3D=3D tanner.burson@gmail.com http://tannerburson.com <---Might even work one day... ------=_Part_5443_20537718.1138979230548--