2013-02-25 60 views
5

我安裝了Ruby 2.0.0和編譯了罰款,但是當我使用bundle install它給我這個錯誤安裝捆綁1.3.0 gem update bundler不能與紅寶石2.0

 
$ gem update bundler 
Updating installed gems 
Nothing to update 

,當我嘗試更新的RubyGems:

 
$ gem update --system 
Latest version currently installed. Aborting. 

我是什麼錯過ING?

我使用的是Ruby 2.0.0-p0 & RVM 1.18.14。

+0

醃好在評論http://stackoverflow.com/questions/15061975/avoiding-mirrors-to- install-a-freshly-released-gem提供了一個很好的解決方法。 – 2013-02-25 22:27:36

回答

7

捆紮機1.3還沒有被釋放,直到它是你必須安裝預發佈版本:

gem install bundler --pre 
+0

他們應該在警告中加上這個。 – iain 2013-02-25 11:27:03

+0

謝謝!很好的注意,我必須更新我的Gemfile以使用'source「http://rubygems.org」'而不是'source:rubygems' ... https似乎也有問題。 – 2013-02-25 11:41:16

+0

@VincentB。應該將您的源代碼指定爲HTTPS而不是HTTP。 – 2013-02-25 13:06:58