1

当我创建一个新的 Rails 文件夹(带有rails new my_app)时出现此错误:

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.

请问有什么帮助吗?

4

1 回答 1

0

似乎是 ruby​​gems 版本的问题:见这里

尝试使用以下命令进行更新:

gem update --system
于 2013-02-25T14:05:25.430 回答