views:

16

answers:

1
Espresso:Preferences PowerBook$ ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [powerpc-darwin9]
Espresso:Preferences PowerBook$ rails -v
Rails 1.2.6
Espresso:Preferences PowerBook$ gem -v
1.3.7

but when updating rails, It still get the error

Espresso:~ PowerBook$ gem update rails
Updating installed gems
Updating rails
ERROR:  Error installing rails:
    activesupport requires Ruby version >= 1.8.7.
Nothing to update

Please help

A: 

Yo,

you may use Ruby Version Manager (rvm) to manage your Rubies...

http://rvm.beginrescueend.com/

slainer68
I compiled the ruby 1.9.2 by myself, problem solved, Thanks anyway
yozloy