在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教程了解它的价值。
答案 0 :(得分:0)