Mike A. Kenny
11/19/2006 12:13:00 PM
----- kij <kijmail@gmail.com> wrote:
> Mike A. Kenny wrote:
> >
> > I am running Ubuntu 6.06 with ruby 1.8.4, rails 1.1.6 and gem
> 0.8.11
> >
> > I have created an empty application and added the method 'hello' to
> the controller. When I try to access this in webbrick my broswer page
> is blank and the output from the server is:
> >
> > 127.0.0.1 - - [19/Nov/2006:10:37:09 SAST] "GET /grope/hello
> HTTP/1.1" 200 0
> > - -> /grope/hello
> > [2006-11-19 10:37:09] ERROR MissingSourceFile: no such file to load
> -- irb
> >
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in
> `require__'
> >
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in
> `require'
> >
> /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
>
> Hey Mike,
> my guess is you need to install irb - properly something like:
> apt-get
> install irb
>
Thanks Kevin,
apt-get install irb didn't work, but it got me thinking. apt-get had installed ruby 1.8.4 minus irb. I installed 1.8.5 from scratch and this had irb, but it turns out was missing yaml and zlib, whic I apt-got (correct tense?). Of course this installed them under /usr not /usr/local so I had to copy them. Seems to be working, but I must do some cleanup later or I will confuse the hell out of myself.
--
mike kenny
Linux Registered User #381724
LPI ID# 80080
"Hell, there are no rules here, we're just trying to accomplish something"
Thomas Edison