에 배포하려고 할 때 내 Gemfile에 다음 줄이 : 나는 Heroku가를 누르면`Heroku가
gem 'authlogic', :git => "git://github.com/binarylogic/authlogic.git"
, 내가 얻을를 다음 오류 :
2013-07-29T15:09:28.895063+00:00 heroku[web.1]: State changed from crashed to starting
2013-07-29T15:09:32.231844+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e $RAILS_ENV -p 14117`
2013-07-29T15:09:35.063805+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/bundler/gems/authlogic-e4b2990d6282/lib/authlogic.rb:60:in `require': /app/vendor/bundle/ruby/1.9.1/bundler/gems/authlogic-e4b2990d6282/lib/authlogic/regex.rb:15: invalid multibyte char (US-ASCII) (SyntaxError)
2013-07-29T15:09:35.063805+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/bundler/gems/authlogic-e4b2990d6282/lib/authlogic/regex.rb:15: invalid multibyte char (US-ASCII)
2013-07-29T15:09:35.063805+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/bundler/gems/authlogic-e4b2990d6282/lib/authlogic/regex.rb:15: syntax error, unexpected $end, expecting keyword_end
2013-07-29T15:09:35.063805+00:00 app[web.1]: ...'(?:[A-Z]{2,4}|museum|travel|онлайн)'
2013-07-29T15:09:35.064199+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.3.2/lib/bundler/runtime.rb:70:in `block in require'
2013-07-29T15:09:35.064199+00:00 app[web.1]: from config.ru:3:in `block in <main>'
2013-07-29T15:09:35.064496+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize'
2013-07-29T15:09:35.064496+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval'
2013-07-29T15:09:35.063805+00:00 app[web.1]: ... ^
2013-07-29T15:09:35.063805+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bundler/gems/authlogic-e4b2990d6282/lib/authlogic.rb:60:in `block in <top (required)>'
2013-07-29T15:09:35.063805+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bundler/gems/authlogic-e4b2990d6282/lib/authlogic.rb:6:in `each'
2013-07-29T15:09:35.064496+00:00 app[web.1]: from config.ru:1:in `<main>'
2013-07-29T15:09:35.064496+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:33:in `eval'
2013-07-29T15:09:35.064496+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:71:in `start'
2013-07-29T15:09:35.063805+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.3.2/lib/bundler/runtime.rb:72:in `require'
2013-07-29T15:09:35.063805+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.3.2/lib/bundler/runtime.rb:72:in `block (2 levels) in require'
2013-07-29T15:09:35.064199+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.3.2/lib/bundler/runtime.rb:70:in `each'
2013-07-29T15:09:35.065084+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
2013-07-29T15:09:35.063805+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bundler/gems/authlogic-e4b2990d6282/lib/authlogic.rb:6:in `<top (required)>'
2013-07-29T15:09:35.064199+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.3.2/lib/bundler/runtime.rb:59:in `each'
2013-07-29T15:09:35.064199+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.3.2/lib/bundler/runtime.rb:59:in `require'
2013-07-29T15:09:35.064199+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.3.2/lib/bundler.rb:132:in `require'
2013-07-29T15:09:35.064199+00:00 app[web.1]: from /app/config/environment.rb:3:in `require'
2013-07-29T15:09:35.064199+00:00 app[web.1]: from /app/config/environment.rb:3:in `<top (required)>'
2013-07-29T15:09:35.064199+00:00 app[web.1]: from config.ru:3:in `require'
2013-07-29T15:09:35.064199+00:00 app[web.1]: from /app/config/application.rb:8:in `<top (required)>'
2013-07-29T15:09:35.064496+00:00 app[web.1]: from config.ru:1:in `new'
2013-07-29T15:09:35.064496+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:33:in `load'
2013-07-29T15:09:35.064496+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
2013-07-29T15:09:35.064496+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'
2013-07-29T15:09:35.065084+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
2013-07-29T15:09:35.064496+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'
2013-07-29T15:09:35.065084+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `load'
2013-07-29T15:09:36.377852+00:00 heroku[web.1]: State changed from starting to crashed
2013-07-29T15:09:36.336374+00:00 heroku[web.1]: Process exited with status 1
물론 응용 프로그램이 작동하지 않습니다.
이 문제의 원인에 대한 의견이 있으십니까? 언뜻보기에 AuthLogic (https://github.com/binarylogic/authlogic) 코드에서 온 것일 수 있습니다.
UPDATE :
확인을 클릭합니다. 가장 이상한 일이 방금 일어났습니다. 그것은 그 자체로 시작되었습니다. 그것은 단지 시간을 할애해야 할 것 같습니다. 그리고 지금 일하고 있습니다 ...
앞으로도 같은 문제가있는 사람들을 위해이 부분을 남겨 두십시오.
그러나 AuthLogic 오류의 원인을 파악하는 것이 좋습니다.
전체 오류를 추가 할 수 있습니까? 아니면 이것이 출력되는 유일한 세 줄입니까? – Mab879
UTF-8 [TLD 및 IDN] (http://en.wikipedia.org/wiki/Internationalized_domain_name)과 같은 모양이 사람들이 문자 인코딩 문제를 분류 할 수있을 때까지 문제가 될 것입니다. – tadman
tadman,'sawa'의 해답에 대한 의견을 참조하십시오 - 이미 모든 파일에서 UTF-8을 명시 적으로 선언했습니다. –