2013-02-25 42 views
1

我有,當我創建一個新的Rails文件夾(與rails new my_app)此錯誤:NoMethodError當新的Rails應用

http://cl.ly/image/3S071x1l0w3J

-> NoMethodError: private method 'open' called for Gem::Package:Class 
An error occured while installing rake (10.0.3), and Bundler cannot continue. 
Make sure that 'gem install rake -v '10.0.3' succeeds before bundling. 

任何幫助嗎?

+2

您是否嘗試過運行的建議命令('創業板安裝耙-v '10 0.0。 3'')?如果是,那麼輸出是什麼? – Felix 2013-02-25 14:02:09

回答

0

似乎是RubyGems的版本一個問題:See here

嘗試用下面的命令更新:

gem update --system