Ruby on rails Rails 4:推送被拒绝,无法编译Ruby应用程序

Ruby on rails Rails 4:推送被拒绝,无法编译Ruby应用程序,ruby-on-rails,git,ruby-on-rails-4,heroku,asset-pipeline,Ruby On Rails,Git,Ruby On Rails 4,Heroku,Asset Pipeline,我在Rails 4上工作 作为MichaelHartl的Rails教程中推荐的最佳实践,我尝试尽早部署,并经常部署,以避免在开发过程中出现复杂的问题 直到最近,一切都很正常:我运行的是git push heroku master,应用程序在本地和heroku上都以同样的方式工作 但是,现在,当我尝试将代码推送到Heroku时,我得到以下错误: Counting objects: 26, done. Delta compression using up to 4 threads. Compress

我在Rails 4上工作

作为MichaelHartl的Rails教程中推荐的最佳实践,我尝试尽早部署,并经常部署,以避免在开发过程中出现复杂的问题

直到最近,一切都很正常:我运行的是git push heroku master,应用程序在本地和heroku上都以同样的方式工作

但是,现在,当我尝试将代码推送到Heroku时,我得到以下错误:

Counting objects: 26, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (25/25), done.
Writing objects: 100% (26/26), 3.07 KiB | 0 bytes/s, done.
Total 26 (delta 14), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.0.0
remote: -----> Installing dependencies using 1.9.7
remote:        Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote:        Rubygems 2.0.14 is not threadsafe, so your gems must be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.
remote:        Using rake 10.4.2
remote:        Using i18n 0.7.0
remote:        Using json 1.8.3
remote:        Using minitest 5.8.0
remote:        Using thread_safe 0.3.5
remote:        Using tzinfo 1.2.2
remote:        Using activesupport 4.2.2
remote:        Using builder 3.2.2
remote:        Using erubis 2.7.0
remote:        Using mini_portile 0.6.2
remote:        Using nokogiri 1.6.6.2
remote:        Using rails-deprecated_sanitizer 1.0.3
remote:        Using rails-dom-testing 1.0.7
remote:        Using loofah 2.0.3
remote:        Using rails-html-sanitizer 1.0.2
remote:        Using actionview 4.2.2
remote:        Using rack 1.6.4
remote:        Using rack-test 0.6.3
remote:        Using actionpack 4.2.2
remote:        Using globalid 0.3.6
remote:        Using activejob 4.2.2
remote:        Using mime-types 2.6.1
remote:        Using mail 2.6.3
remote:        Using actionmailer 4.2.2
remote:        Using activemodel 4.2.2
remote:        Using arel 6.0.3
remote:        Using activerecord 4.2.2
remote:        Using execjs 2.6.0
remote:        Using autoprefixer-rails 5.2.1.2
remote:        Using bcrypt 3.1.10
remote:        Using sass 3.4.18
remote:        Using bootstrap-sass 3.3.5.1
remote:        Using coffee-script-source 1.9.1.1
remote:        Using coffee-script 2.4.1
remote:        Using thor 0.19.1
remote:        Using railties 4.2.2
remote:        Using coffee-rails 4.1.0
remote:        Using orm_adapter 0.5.0
remote:        Using responders 2.1.0
remote:        Using warden 1.2.3
remote:        Using devise 3.5.2
remote:        Using multi_json 1.11.2
remote:        Using jbuilder 2.3.1
remote:        Using jquery-rails 4.0.4
remote:        Using turbolinks 2.5.3
remote:        Using jquery-turbolinks 2.1.0
remote:        Using pg 0.18.2
remote:        Using puma 2.13.4
remote:        Using bundler 1.9.7
remote:        Using sprockets 3.3.3
remote:        Using sprockets-rails 2.3.2
remote:        Using rails 4.2.2
remote:        Using rails_serve_static_assets 0.0.4
remote:        Using rails_stdout_logging 0.0.4
remote:        Using rails_12factor 0.0.3
remote:        Using rdoc 4.2.0
remote:        Using tilt 1.4.1
remote:        Using sass-rails 5.0.3
remote:        Using sdoc 0.4.1
remote:        Using uglifier 2.7.1
remote:        Bundle complete! 22 Gemfile dependencies, 60 gems now installed.
remote:        Gems in the groups development and test were not installed.
remote:        Bundled gems are installed into ./vendor/bundle.
remote:        Bundle completed (0.56s)
remote:        Cleaning up the bundler cache.
remote: -----> Preparing app for Rails asset pipeline
remote:        Running: rake assets:precompile
remote:        rake aborted!
remote:        SyntaxError: /tmp/build_c8c1797d62ce933566e19803262e7a1d/config/environments/production.rb:95: syntax error, unexpected keyword_end, expecting '}'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:274:in `require'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:274:in `block in require'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:240:in `load_dependency'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:274:in `require'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/engine.rb:598:in `block (2 levels) in <class:Engine>'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/engine.rb:597:in `each'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/engine.rb:597:in `block in <class:Engine>'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/initializable.rb:30:in `instance_exec'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/initializable.rb:30:in `run'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/initializable.rb:55:in `block in run_initializers'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/initializable.rb:44:in `each'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/initializable.rb:44:in `tsort_each_child'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/initializable.rb:54:in `run_initializers'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/application.rb:352:in `initialize!'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/config/environment.rb:5:in `<top (required)>'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:274:in `require'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:274:in `block in require'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:240:in `load_dependency'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:274:in `require'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/application.rb:328:in `require_environment!'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/application.rb:457:in `block in run_tasks_blocks'
remote:        /tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/sprockets-rails-2.3.2/lib/sprockets/rails/task.rb:64:in `block (2 levels) in define'
remote:        Tasks: TOP => environment
remote:        (See full trace by running task with --trace)
remote:  !
remote:  !     Precompiling assets failed.
remote:  !
remote: 
remote:  !     Push rejected, failed to compile Ruby app
remote: 
remote: Verifying deploy....
remote: 
remote: !   Push rejected to calendy.
remote: 
To https://git.heroku.com/calendy.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/calendy.git'
计数对象:26,完成。
增量压缩最多使用4个线程。
压缩对象:100%(25/25),完成。
写入对象:100%(26/26),3.07千字节/秒,完成。
总计26(增量14),重复使用0(增量0)
远程:正在压缩源文件。。。完成。
远程:建筑源:
远程:
远程:-->检测到Ruby应用程序
远程:-->编译Ruby/Rails
远程:-->使用Ruby版本:Ruby-2.0.0
远程:-->使用1.9.7安装依赖项
远程:正在运行:bundle安装--无需开发:测试--路径vendor/bundle--binstubs vendor/bundle/bin-j4--部署
远程:Rubygems 2.0.14不是线程安全的,因此您的gems必须一次安装一个。升级到Rubygems 2.1.0或更高版本以启用并行gem安装。
远程:使用rake 10.4.2
远程:使用i18n0.7.0
远程:使用json 1.8.3
远程:使用minitest 5.8.0
远程:使用线程安全0.3.5
远程:使用tzinfo 1.2.2
远程:使用activesupport 4.2.2
远程:使用builder 3.2.2
远程:使用erubis 2.7.0
远程:使用mini_portile 0.6.2
远程:使用nokogiri 1.6.6.2
远程:使用rails-Disprecated_sanitizer 1.0.3
远程:使用rails dom测试1.0.7
远程:使用丝瓜2.0.3
远程:使用rails html消毒器1.0.2
远程:使用actionview 4.2.2
远程:使用机架1.6.4
远程:使用机架测试0.6.3
远程:使用actionpack 4.2.2
远程:使用globalid 0.3.6
远程:使用activejob 4.2.2
远程:使用mime类型2.6.1
远程:使用mail 2.6.3
远程:使用actionmailer 4.2.2
远程:使用ActiveModel4.2.2
远程:使用arel 6.0.3
远程:使用activerecord 4.2.2
远程:使用execjs 2.6.0
远程:使用autoprefixer rails 5.2.1.2
远程:使用bcrypt 3.1.10
远程:使用sass 3.4.18
远程:使用引导sass 3.3.5.1
远程:使用coffee脚本源代码1.9.1.1
远程:使用coffee脚本2.4.1
远程:使用thor 0.19.1
远程:使用railties 4.2.2
远程:使用coffee rails 4.1.0
远程:使用orm_适配器0.5.0
远程:使用响应程序2.1.0
远程:使用warden 1.2.3
远程:使用Desive 3.5.2
远程:使用multi_json 1.11.2
远程:使用JBuilder2.3.1
远程:使用jquery rails 4.0.4
远程:使用TurboLink 2.5.3
远程:使用jquery turbolinks 2.1.0
远程:使用第0.18.2页
远程:使用puma 2.13.4
远程:使用bundler 1.9.7
远程:使用链轮3.3.3
远程:使用链轮轨道2.3.2
远程:使用rails 4.2.2
远程:使用rails\u服务\u静态\u资产0.0.4
远程:使用rails\u stdout\u日志0.0.4
远程:使用rails_12系数0.0.3
远程:使用RDOC4.2.0
远程:使用tilt 1.4.1
远程:使用sass rails 5.0.3
远程:使用sdoc 0.4.1
远程:使用uglifier 2.7.1
远程:包完成!22个Gemfile依赖项,现在安装了60个Gem。
远程:未安装开发和测试组中的Gems。
远程:捆绑的gems安装到./vendor/bundle中。
远程:已完成捆绑(0.56秒)
远程:清理绑定器缓存。
远程:-->为Rails资产管道准备应用程序
远程:运行:rake资产:预编译
远程:rake中止!
远程:SyntaxError:/tmp/build_c8c1797d62ce933566e19803262e7a1d/config/environments/production.rb:95:语法错误,意外关键字_end,应为“}”
远程:/tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:274:in'require'
远程:/tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:274:in'block in require'
远程:/tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:240:in'load_dependenciency'
远程:/tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:274:in'require'
远程:/tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/engine.rb:598:in'block(2层)in'
远程:/tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/engine.rb:597:in'each'
远程:/tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/engine.rb:597:in'block-in'
远程:/tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/initializable.rb:30:in'instance_exec'
远程:/tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/initializable.rb:30:in'run'
远程:/tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/initializable.rb:55:in'block in run_initializer'
远程:/tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/initializable.rb:44:in'each'
远程:/tmp/build_c8c1797d62ce933566e19803262e7a1d/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/initializable.rb:44:在'tsort_each_child'中
雷莫
remote:        SyntaxError: /tmp/build_c8c1797d62ce933566e19803262e7a1d/config/environments/production.rb:95: syntax error, unexpected keyword_end, expecting '}'