Looking at Rails for the first time...

S

Steve [RubyTalk]

I'm trying to create my first ever rails application.. following as
closely as possible the instructions in the tutorial. I've created a
trivial model and controller using script/generate and the tutorial
recommends to run rake. When I run rake, it reports an error (which
doesn't mean much to me) :

$ rake
/usr/lib/ruby/site_ruby/1.8/rake.rb:658:in `private': undefined method
`have_option?' for class `Object' (NameError)
from /usr/lib/ruby/site_ruby/1.8/rake.rb:658
from /usr/lib/ruby/site_ruby/1.8/rake.rb:657
from /usr/bin/rake:3

What does this mean? Is this a bug in rake as the error message
suggests, or something subtle I've done wrongly in attempting to use Rails?
 
E

Eric Hodel

I'm trying to create my first ever rails application.. following as
closely as possible the instructions in the tutorial. I've created
a trivial model and controller using script/generate and the
tutorial recommends to run rake. When I run rake, it reports an
error (which doesn't mean much to me) :

$ rake
/usr/lib/ruby/site_ruby/1.8/rake.rb:658:in `private': undefined
method `have_option?' for class `Object' (NameError)
from /usr/lib/ruby/site_ruby/1.8/rake.rb:658
from /usr/lib/ruby/site_ruby/1.8/rake.rb:657
from /usr/bin/rake:3

What does this mean? Is this a bug in rake as the error message
suggests, or something subtle I've done wrongly in attempting to
use Rails?

Rails has its own mailing list filled with people happy to quickly
and accurately respond to all your Rails questions:

http://lists.rubyonrails.org/mailman/listinfo/rails
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top