When running rails new sample_app --skip-test-unit
on ruby 2.0.0p247/Rails 4.0.0, I keep getting this after "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.
I've tried running both gem install rake
and the above suggestion with the same results. Any suggestions? Thanks. For what its worth I'm trying to get through the Hartl Rails tutorial.
也许这可以帮助您http://blog.oasic.net/2012/04/solutions-to-invalid-byte-sequence-in.html问题不在于gems!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.