[英]I use the rvm1.8.7,but when i use to install the rails v=2.3.11 it throws the error
ERROR: Could not find a valid gem 'rails' (= 2.3.11) in any repository错误:在任何存储库中都找不到有效的 gem 'rails' (= 2.3.11)
any one help me Pleace任何人都可以帮助我
This method should solve your issue:此方法应该可以解决您的问题:
$ gem install --http-proxy http://201.187.107.19:8080 rails
Note, the IP address and the port number refers to a proxy.注意,IP 地址和端口号是指代理。 You should search for a proxy list and use one of the proxies there.您应该搜索代理列表并使用其中的一个代理。
This is sample site with proxies: http://www.cybersyndrome.net/pla5.html这是带有代理的示例站点: http://www.cybersyndrome.net/pla5.html
Use gem install rails -v=2.3.11
or gem install rails --version=2.3.11
使用gem install rails -v=2.3.11
或gem install rails --version=2.3.11
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.