创建新Rails应用程序的问题(rake 10.1.0 / Bundler失败)

时间:2013-09-14 13:32:13

标签: ruby-on-rails ruby-on-rails-4 railstutorial.org

在ruby 2.0.0p247 / Rails 4.0.0上运行rails new sample_app --skip-test-unit时,我会在“bundle install”之后继续这样做:

>Fetching gem metadata from https://rubygems.org/..........
>Fetching gem metadata from https://rubygems.org/..
>Resolving dependencies...

>ArgumentError: invalid byte sequence in UTF-8
>An error occurred while installing rake (10.1.0), and Bundler cannot continue.
>Make sure that `gem install rake -v '10.1.0'` succeeds before bundling.

我尝试使用相同的结果同时运行gem install rake和上述建议。有什么建议?谢谢。我正试图通过Hartl Rails教程了解它的价值。

1 个答案:

答案 0 :(得分:0)

也许这可以帮助你http://blog.oasic.net/2012/04/solutions-to-invalid-byte-sequence-in.html 问题不在于宝石!