최근에 새로운 레일스 프로젝트를 만들려고 시도하고 'rail new new_project'명령을 실행하여이 오류가 발생했습니다. 누구든지 무엇을 해야할지 알고 있습니까?레일즈 명령을 시도 할 때이 에러가 발생합니다
/usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler/settings.rb:229 : /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler/shared_helpers에서 의
scan': invalid byte sequence in US-ASCII (ArgumentError) from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler/settings.rb:229:in
블록에 있습니다. rb : 105 :filesystem_access' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler/settings.rb:225:in
load_config ' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler/settings .rb : 13 : ininitialize' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler.rb:198:in
new ' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler. rb : 198 :settings' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler/env.rb:28:in
보고서 ' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler/frien dly_errors.rb : 74 : inrequest_issue_report_for' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler/friendly_errors.rb:40:in
log_error ' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler /friendly_errors.rb:100:inrescue in with_friendly_errors' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler/friendly_errors.rb:98:in
with_friendly_errors ' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/exe/ 번들 : 19 :<main>' run bundle exec spring binstub --all /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler/settings.rb:229:in
에서 '스캔 : US-ASCII (ArgumentError)의 유효하지 않은 바이트 시퀀스 /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12. 0.rc.3/lib/bundler/settings.rb : 229 :block in load_config' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler/shared_helpers.rb:105:in
filesystem_access ' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12 .0.rc.3/lib/bundler/settings.rb : 225 :load_config' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler/settings.rb:13:in
에서 초기화하십시오. ' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler- 1.12.0.rc.3/lib/bundler.rb : 198 :에서설정 ' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler/env.rb:28 :report' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler/friendly_errors.rb:74:in
request_issue_report_for ' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler/friendly_errors.rb:40에서 :log_error' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler/friendly_errors.rb:100:in
in_friendly_errors에서 구출하기 ' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/lib/bundler/friendly_errors. rb : 98 :with_friendly_errors' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.rc.3/exe/bundle:19:in
'
2016입니다. 건강한 환경에서'bundler'는 아무런 결함없이 UTF8을 읽어야합니다. '~/.bundler/config' ASCII를 쓰면 아마도 문제가 묻을 것이지만 해결하지는 못할 것입니다. – mudasobwa
감사합니다. 하지만 단지 BUNDLE_BUILD__LIBV8 : "--with-system-v8"이라고 말합니다. BUNDLE_BUILD__THERUBYRACER : "- -with-v8-dir"그리고 정확히 알지 못합니다 .... –
대시 중 하나 인 ' 다른 사람들보다. 그들을 다시 입력하십시오. 아니면 그냥 stackoverflow에 의해 발생합니다? – spickermann