I have the exact same issue and as yet have been unable to solve it.  My emerged versions are as follows:

dev-lang/ruby-1.8.3 *
dev-ruby/rubygems-0.8.11 *
dev-ruby/activerecord-1.11.1
dev-ruby/activesupport-1.1.1-r2 *
dev-ruby/rake-0.5.3 *
dev-ruby/rails-0.13.1 *

My error when running 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

If I find a solution I will post it.

On 11/7/05, Steve [Gentoo] <[EMAIL PROTECTED]> wrote:
I've recently started playing around with Ruby and rails under Gentoo.
I've installed everything using emerge as opposed to the using ruby gems.

While I seem to be able to use my rails application, I get a puzzling
error message when I try to verify it using the default generated
rakefile and rake:

--
$ rails myapp
$ cd myapp
$ rake
/usr/lib/ruby/site_ruby/1.8/rake.rb:658:in `private': undefined method
`have_opt
ion?' 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
--

I would not expect this error message. I get the same error message if
I've introduced controllers and views (as suggested in the tutorials)
before running make.  I've asked on both the ruby and rails mailing
lists without any suggestions arising... it seems this might be peculiar
to Gentoo.  Do other users (more familiar than I am with Ruby, rails and
rake)  have the same problems?  Is this a problem with my generated
application, Rails - or (as the error message suggests) an error in the
implementation of rake?


--
gentoo-user@gentoo.org mailing list


Reply via email to