[Rails] Newbie with error.

David C. Hicks dhicks at i-hicks.org
Mon Jan 2 01:00:27 GMT 2006


I'm just getting started with Rails and I have a problem getting a 
simple "hello world" app working.

I have Ruby 1.8.2 installed.  I then installed RubyGems and from there 
Rails.   Everything good, so far.  I created an application and the 
basic main page works just fine.  Following the chapter 4 of the Dave 
Thomas book, I create a "say" controller and add a "hello" method to 
it.  When I then try to access this new method via my browers the 
WeBrick server spits out a long stream of error messages.  For brevity's 
sake, I'm including only the first few because I feel sure that this is 
probably a common newbie oversight of some sort.

[2006-01-01 19:47:51] ERROR MissingSourceFile: no such file to load -- irb
        /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
        /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
        
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in 
`require'
        /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/breakpoint.rb:18

Any help?
Thanks,
Dave



More information about the Rails mailing list