rails new sample_app --skip-test-unit
在 ruby 2.0.0p247/Rails 4.0.0 上运行时,我在“捆绑安装”之后不断得到这个:
>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 教程。