2013-07-16 3 views
0

이것은 내가 heroku에 자식을 보내려고 할 때 발생하는 오류입니다. 방금 아주 간단한 스캐 폴딩을 만들고 자바 스크립트를 추가했습니다. 그것은 단지 작은 안녕하세요 세계 프로그램입니다. jquery 및 jquery UI에 대한 나는 수동으로 링크를 사용하지 않기 때문에 보석 파일을 사용하지 않는 나를 위해 일한다. 내가 푸시하는 동안 출력의 나머지 부분은 그들이 밀어내는 동안 보게되는 보통의 물건이기 때문에 생략되었습니다. 어떤 아이디어? 당신은 그것은 오류가 # 기호 말한다 라인 (423)에 응용 프로그램/자산/자바 스크립트/application.js에 구문 오류를 가지고있는 것처럼heroku에 응용 프로그램을 푸시 할 수 없습니다.

-----> Writing config/database.yml to read from DATABASE_URL 
-----> Preparing app for Rails asset pipeline 
    Running: rake assets:precompile 
    rake aborted! 
    Unexpected character '#' (line: 423, col: 0, pos: 13212) 
    Error 
    at new JS_Parse_Error (/tmp/execjs20130716-578-jc9asx.js:2357:10736) 
    at js_error (/tmp/execjs20130716-578-jc9asx.js:2357:10955) 
    at parse_error (/tmp/execjs20130716-578-jc9asx.js:2357:12489) 
    at Object.next_token [as input] (/tmp/execjs20130716-578-jc9asx.js:2357:17217) 
    at next (/tmp/execjs20130716-578-jc9asx.js:2357:18479) 
    at semicolon (/tmp/execjs20130716-578-jc9asx.js:2357:19324) 
    at simple_statement (/tmp/execjs20130716-578-jc9asx.js:2357:21849) 
    at /tmp/execjs20130716-578-jc9asx.js:2357:20245 
    at /tmp/execjs20130716-578-jc9asx.js:2357:19536 
    at /tmp/execjs20130716-578-jc9asx.js:2357:31209 
    (in /tmp/build_2d5im50v1anke/app/assets/javascripts/application.js)/tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:68:in `extract_result' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:28:in `block in exec' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:41:in `compile_to_tempfile' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:27:in `exec' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/uglifier-2.1.2/lib/uglifier.rb:176:in `really_compile' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/uglifier-2.1.2/lib/uglifier.rb:100:in `compile' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/sprockets/uglifier_compressor.rb:25:in `evaluate' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/sprockets/context.rb:197:in `block in evaluate' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/sprockets/context.rb:194:in `each' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/sprockets/context.rb:194:in `evaluate' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/sprockets/bundled_asset.rb:25:in `initialize' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/sprockets/base.rb:377:in `new' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/sprockets/base.rb:377:in `build_asset' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/sprockets/index.rb:94:in `block in build_asset' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/sprockets/caching.rb:58:in `cache_asset' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/sprockets/index.rb:93:in `build_asset' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/sprockets/base.rb:287:in `find_asset' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/sprockets/index.rb:61:in `find_asset' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/sprockets/manifest.rb:211:in `block in find_asset' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/sprockets/manifest.rb:257:in `benchmark' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/sprockets/manifest.rb:210:in `find_asset' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/sprockets/manifest.rb:119:in `block in compile' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/sprockets/manifest.rb:118:in `each' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/sprockets/manifest.rb:118:in `compile' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-rails-2.0.0/lib/sprockets/rails/task.rb:60:in `block (3 levels) in define' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-2.10.0/lib/rake/sprocketstask.rb:146:in `with_logger' 
    /tmp/build_2d5im50v1anke/vendor/bundle/ruby/2.0.0/gems/sprockets-rails-2.0.0/lib/sprockets/rails/task.rb:59:in `block (2 levels) in define' 
    Tasks: TOP => assets:precompile 
    (See full trace by running task with --trace) 
! 
!  Precompiling assets failed. 
! 

!  Push rejected, failed to compile Ruby/Rails app 

답변

0

보인다. 그것을 제거하고 다시 시도하십시오.

관련 문제