* [gentoo-user] Ruby Rails and Rake - strange error on Gentoo...
@ 2005-11-07 16:27 Steve [Gentoo]
2005-11-07 17:31 ` Preston Hagar
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Steve [Gentoo] @ 2005-11-07 16:27 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Ruby Rails and Rake - strange error on Gentoo...
2005-11-07 16:27 [gentoo-user] Ruby Rails and Rake - strange error on Gentoo Steve [Gentoo]
@ 2005-11-07 17:31 ` Preston Hagar
2005-11-07 17:49 ` Abap
2005-11-07 18:41 ` [gentoo-user] " Francesco Talamona
2 siblings, 0 replies; 4+ messages in thread
From: Preston Hagar @ 2005-11-07 17:31 UTC (permalink / raw
To: gentoo-user, gentoo_steve
[-- Attachment #1: Type: text/plain, Size: 1863 bytes --]
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] <gentoo_steve@shic.co.uk> 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
>
>
[-- Attachment #2: Type: text/html, Size: 2579 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Ruby Rails and Rake - strange error on Gentoo...
2005-11-07 16:27 [gentoo-user] Ruby Rails and Rake - strange error on Gentoo Steve [Gentoo]
2005-11-07 17:31 ` Preston Hagar
@ 2005-11-07 17:49 ` Abap
2005-11-07 18:41 ` [gentoo-user] " Francesco Talamona
2 siblings, 0 replies; 4+ messages in thread
From: Abap @ 2005-11-07 17:49 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1544 bytes --]
On 11/7/05, Steve [Gentoo] <gentoo_steve@shic.co.uk> 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
>
>
I have the same error. Since I can not find the solution to the error, I
upgraded rake (~x86). This version of rake worked properly, but it was
downgraded on the next emerge. I have not bothered looking any further at
the issue so far.
Cheers,
Kevin
[-- Attachment #2: Type: text/html, Size: 2099 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: Ruby Rails and Rake - strange error on Gentoo...
2005-11-07 16:27 [gentoo-user] Ruby Rails and Rake - strange error on Gentoo Steve [Gentoo]
2005-11-07 17:31 ` Preston Hagar
2005-11-07 17:49 ` Abap
@ 2005-11-07 18:41 ` Francesco Talamona
2 siblings, 0 replies; 4+ messages in thread
From: Francesco Talamona @ 2005-11-07 18:41 UTC (permalink / raw
To: gentoo-user
On Monday 07 November 2005 17:27, Steve [Gentoo] 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?
I don't know it is helpful, but my instiki wiki recentlystopped working,
so I googled a bit with the error message provided, and discovered that
I had to downgrade ruby, as ruby-1.8.3 has some incompatibilities I
can't remeber now.
I added the line "=dev-lang/ruby-1.8.3" in /etc/portage/package.mask and
emerged dev-lang/ruby-1.8.2-r2
HTH
Francesco
--
Linux Version 2.6.12-gentoo-r9, Compiled #2 Wed Aug 24 18:43:16 CEST
2005
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4325.37 Bogomips Total
aemaeth
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-11-07 18:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-07 16:27 [gentoo-user] Ruby Rails and Rake - strange error on Gentoo Steve [Gentoo]
2005-11-07 17:31 ` Preston Hagar
2005-11-07 17:49 ` Abap
2005-11-07 18:41 ` [gentoo-user] " Francesco Talamona
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox