开发者

'gem not found' error when installing rails 2.3.4 with rvm

I try to install rails version 2.3.4 with rvm rvm gem install --no-ri --no-rdoc --version=2.3.4 rails

but i get this error

'gem not found for ruby-1.8.6-p399'开发者_StackOverflow社区 either does not exist or is not executable? :(

anyone know why? I have search google and found nothing


try running gem install --no-ri --no-rdoc --version=2.3.4 rails for the current ruby. You can see what's the current ruby with rvm info.

or if it's for a specific version of ruby you've installed with rvm that is not the current one, run rvm 1.8.7 gem install --no-ri --no-rdoc --version=2.3.4 rails. In this example, it will install rails for ruby 1.8.7, although, the default in my computer is ruby 1.9.2.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜