1 |
I have the exact same issue and as yet have been unable to solve it. My |
2 |
emerged versions are as follows: |
3 |
|
4 |
dev-lang/ruby-1.8.3 * |
5 |
dev-ruby/rubygems-0.8.11 * |
6 |
dev-ruby/activerecord-1.11.1 |
7 |
dev-ruby/activesupport-1.1.1-r2 * |
8 |
dev-ruby/rake-0.5.3 * |
9 |
dev-ruby/rails-0.13.1 * |
10 |
|
11 |
My error when running rake: |
12 |
/usr/lib/ruby/site_ruby/1.8/rake.rb:658:in `private': undefined method |
13 |
`have_option?' for class `Object' (NameError) |
14 |
from /usr/lib/ruby/site_ruby/1.8/rake.rb:658 |
15 |
from /usr/lib/ruby/site_ruby/1.8/rake.rb:657 |
16 |
from /usr/bin/rake:3 |
17 |
|
18 |
If I find a solution I will post it. |
19 |
|
20 |
On 11/7/05, Steve [Gentoo] <gentoo_steve@×××××××.uk> wrote: |
21 |
> |
22 |
> I've recently started playing around with Ruby and rails under Gentoo. |
23 |
> I've installed everything using emerge as opposed to the using ruby gems. |
24 |
> |
25 |
> While I seem to be able to use my rails application, I get a puzzling |
26 |
> error message when I try to verify it using the default generated |
27 |
> rakefile and rake: |
28 |
> |
29 |
> -- |
30 |
> $ rails myapp |
31 |
> $ cd myapp |
32 |
> $ rake |
33 |
> /usr/lib/ruby/site_ruby/1.8/rake.rb:658:in `private': undefined method |
34 |
> `have_opt |
35 |
> ion?' for class `Object' (NameError) |
36 |
> from /usr/lib/ruby/site_ruby/1.8/rake.rb:658 |
37 |
> from /usr/lib/ruby/site_ruby/1.8/rake.rb:657 |
38 |
> from /usr/bin/rake:3 |
39 |
> -- |
40 |
> |
41 |
> I would not expect this error message. I get the same error message if |
42 |
> I've introduced controllers and views (as suggested in the tutorials) |
43 |
> before running make. I've asked on both the ruby and rails mailing |
44 |
> lists without any suggestions arising... it seems this might be peculiar |
45 |
> to Gentoo. Do other users (more familiar than I am with Ruby, rails and |
46 |
> rake) have the same problems? Is this a problem with my generated |
47 |
> application, Rails - or (as the error message suggests) an error in the |
48 |
> implementation of rake? |
49 |
> |
50 |
> |
51 |
> -- |
52 |
> gentoo-user@g.o mailing list |
53 |
> |
54 |
> |