Forum: Ruby on Rails Ruby 1.9 problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Fresh M. (Guest)
on 2009-05-10 19:56
What wrong:

# rails test
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext/uri.rb:8:in
`<top (required)>': uninitialized constant URI::Parser (NameError)
  from
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:3:in
`require'
  from
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:3:in
`block in <top (required)>'
  from
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:1:in
`each'
  from
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:1:in
`<top (required)>'
  from
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support.rb:55:in
`require'
  from
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support.rb:55:in
`<top (required)>'
  from
/usr/lib/ruby1.9/gems/1.9.0/gems/rails-2.3.2/lib/rails_generator.rb:28:in
`require'
  from
/usr/lib/ruby1.9/gems/1.9.0/gems/rails-2.3.2/lib/rails_generator.rb:28:in
`<top (required)>'
  from /usr/lib/ruby1.9/gems/1.9.0/gems/rails-2.3.2/bin/rails:14:in
`require'
  from /usr/lib/ruby1.9/gems/1.9.0/gems/rails-2.3.2/bin/rails:14:in
`<top (required)>'
  from /usr/bin/rails:19:in `load'
  from /usr/bin/rails:19:in `<main>'
7stud -. (Guest)
on 2009-05-10 23:01
Fresh M. wrote:
> What wrong:
>
> # rails test
> /var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext/uri.rb:8:in
> `<top (required)>': uninitialized constant URI::Parser (NameError)


You're using a ruby version that isn't supported by rails?
7stud -. (Guest)
on 2009-05-10 23:02
7stud -- wrote:
> Fresh M. wrote:
>> What wrong:
>>
>> # rails test
>> /var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext/uri.rb:8:in
>> `<top (required)>': uninitialized constant URI::Parser (NameError)
>
>
> You're using a ruby version that isn't supported by rails?

..or by one of your gems?
Frederick C. (Guest)
on 2009-05-11 00:14
(Received via mailing list)
On May 10, 4:56 pm, Fresh M. <removed_email_address@domain.invalid>
wrote:
> What wrong:
>
> # rails test
> /var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext/ur i.rb:8:in

Don't use 1.9.0 - it's an unstable development version. The first
stable version of ruby 1.9 is 1.9.1

Fred
This topic is locked and can not be replied to.