开发者

Mac OS X Leopard showing different version of Rails after install

so I'm installing rails with

gem install rails

and I didn't have any version of rails prior to the one I'm installing (3.0.9).

By the time the installation finishes I get the documentation error

Installing ri documentation for rails-3.0.9...
file 'lib' not found
Installing RDoc documentation for ra开发者_开发问答ils-3.0.9...

Even though it says that rails 3.0.9 was installed successfully.

If I run

gem list rails 

it shows me version 3.0.9, but when I run

rails -v

it shows me version 2.3.5 ( I don't know here that came from ).

See: http://cl.ly/353h1o1b3y3T260L3F3p

Any help please?


If you don't really care, just remove rails 2.3.5 with gem uninstall rails and chose the appropriate one when it asks you which.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜