1 |
I've recently started playing around with Ruby and rails under Gentoo. |
2 |
I've installed everything using emerge as opposed to the using ruby gems. |
3 |
|
4 |
While I seem to be able to use my rails application, I get a puzzling |
5 |
error message when I try to verify it using the default generated |
6 |
rakefile and rake: |
7 |
|
8 |
-- |
9 |
$ rails myapp |
10 |
$ cd myapp |
11 |
$ rake |
12 |
/usr/lib/ruby/site_ruby/1.8/rake.rb:658:in `private': undefined method |
13 |
`have_opt |
14 |
ion?' for class `Object' (NameError) |
15 |
from /usr/lib/ruby/site_ruby/1.8/rake.rb:658 |
16 |
from /usr/lib/ruby/site_ruby/1.8/rake.rb:657 |
17 |
from /usr/bin/rake:3 |
18 |
-- |
19 |
|
20 |
I would not expect this error message. I get the same error message if |
21 |
I've introduced controllers and views (as suggested in the tutorials) |
22 |
before running make. I've asked on both the ruby and rails mailing |
23 |
lists without any suggestions arising... it seems this might be peculiar |
24 |
to Gentoo. Do other users (more familiar than I am with Ruby, rails and |
25 |
rake) have the same problems? Is this a problem with my generated |
26 |
application, Rails - or (as the error message suggests) an error in the |
27 |
implementation of rake? |
28 |
|
29 |
|
30 |
-- |
31 |
gentoo-user@g.o mailing list |