Newbie with error

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 –
require__' /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire’


Any help?

After some digging, I found my own problem. It turned out that I did
not have IRB installed.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs