有人知道如何在Ubuntu上更新RubyGems吗?ubuntu:~$ cd /home/steve/www/mynewappRails requires RubyGemsRubyGems can be updated using the official Debian repositories by aptitude or apt-get.
我已经执行了所有步骤,但是每次输入'$ rails生成‘时,我都会得到以下错误:
Warning: You're using Rubygems 2.0.14 with Spring.Upgrade to at least Rubygems 2.1.0 and run `gem pristine --all` for better startup performance./Users/waleedrahamtullah/.rbenv/versions/2.1.2/lib/
但今天总是失败,并显示以下错误消息:
Gem::RemoteFetcher::FetchError: too many connection resets (http://cachefly.mirrors.rubygems.org我仍然可以从http://rubygems.org/gems/json-1.6.5.gem下载gem文件。
我一直在网上寻找这个问题的解决方案...没有运气的话..我是rails的新手。如果有人有什么想法,我很乐意听听。非常感谢!LW:src liamwright$ sudo gem install rails --include-dependenciesINFO: `gem install -y` is now default and will be removedBulk updating Gem source index for: h