简体   繁体   English

创建新的Rails应用程序时出现问题(Rake 10.1.0 / Bundler失败)

[英]Issues creating new Rails app (rake 10.1.0/Bundler failure)

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

>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. 我试过运行gem install rake和以上建议,结果相同。 Any suggestions? 有什么建议么? Thanks. 谢谢。 For what its worth I'm trying to get through the Hartl Rails tutorial. 对于它的价值,我试图通过Hartl Rails教程。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM