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.
Ead43bcb0202410540a6a7cee5955d46?d=identicon&s=25 Fresh Mix (giga)
on 2009-05-10 17: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>'
54404bcac0f45bf1c8e8b827cd9bb709?d=identicon&s=25 7stud -- (7stud)
on 2009-05-10 21:01
Fresh Mix 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?
54404bcac0f45bf1c8e8b827cd9bb709?d=identicon&s=25 7stud -- (7stud)
on 2009-05-10 21:02
7stud -- wrote:
> Fresh Mix 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?
81b61875e41eaa58887543635d556fca?d=identicon&s=25 Frederick Cheung (Guest)
on 2009-05-10 22:14
(Received via mailing list)
On May 10, 4:56 pm, Fresh Mix <rails-mailing-l...@andreas-s.net>
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.