Looking at Rails for the first time...

Discussion in 'Ruby' started by Steve [RubyTalk], Oct 27, 2005.

  1. 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?
     
    Steve [RubyTalk], Oct 27, 2005
    #1
    1. Advertisements

  2. Steve [RubyTalk]

    Eric Hodel Guest

    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
     
    Eric Hodel, Oct 27, 2005
    #2
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.