From: Jeremy McAnally Date: 2007-02-15T12:48:06+09:00 Subject: Re: Strange Camping Error Are you doing a require or require_gem (or properly, gem)? --Jeremy On 2/14/07, Tony Cosentini wrote: > Chris Carter wrote: > > On 2/14/07, Tony Cosentini wrote: > >> load. > >> > >> Anyone have any ideas as to why my application can't load Camping? > >> Thanks > >> > >> -- > >> Posted via http://www.ruby-forum.com/. > >> > >> > > Hi Tony, > > As you discovered in irb you must require 'rubygems' first, and you > > need to do that in your script too. require 'rubygems' rewrites the > > require method to search your gems too. > > Thanks for the explanation. I have require 'rubygems' before require > 'camping' in my application, but I'm still getting an error: > [Wed Feb 14 18:58:48 2007] [error] [client 70.105.220.65] no such file > to load -- camping > [Wed Feb 14 18:58:48 2007] [error] [client 70.105.220.65] ( > [Wed Feb 14 18:58:48 2007] [error] [client 70.105.220.65] LoadError > [Wed Feb 14 18:58:48 2007] [error] [client 70.105.220.65] ) > > -- > Posted via http://www.ruby-forum.com/. > > -- http://www.jeremymcanally.com/ My free Ruby e-book: http://www.humblelittlerubybook.com/book/ My blogs: http://www.mrneighborly.com/ http://www.rubyinpractice.com/