ruby on rails - Pushing app on heroku fails - rake -
i trying deploy app catarse on heroku, not want push it. quite new git , heroku, perhaps making stupid basic error, still..
this got:
git push heroku master counting objects: 1740, done. delta compression using 4 threads. compressing objects: 100% (1657/1657), done. writing objects: 100% (1740/1740), 4.90 mib | 356.00 kib/s, done. total 1740 (delta 308), reused 0 (delta 0) remote: compressing source files... done. remote: building source: remote: remote: -----> warning: multiple default buildpacks reported ability handle app. first buildpack in list below used. remote: detected buildpacks: ruby, node.js remote: see https://devcenter.heroku.com/articles/buildpacks#buildpack-detect-order remote: -----> ruby app detected remote: -----> compiling ruby/rails remote: -----> using ruby version: ruby-2.2.2 remote: -----> installing dependencies using 1.9.7 remote: running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment remote: fetching gem metadata https://rubygems.org/....... remote: fetching version metadata https://rubygems.org/... remote: fetching dependency metadata https://rubygems.org/.. remote: fetching git://github.com/bernat/best_in_place remote: fetching git://github.com/catarse/catarse_api.git remote: fetching git://github.com/catarse/moip-ruby.git remote: fetching git://github.com/catarse/redactor-rails.git remote: using rake 10.4.2 remote: installing cfpropertylist 2.3.1 remote: installing i18n 0.7.0 remote: installing minitest 5.7.0 remote: installing thread_safe 0.3.5 remote: installing builder 3.2.2 remote: installing erubis 2.7.0 remote: installing rack 1.5.5 remote: installing mime-types 2.6.1 remote: installing arel 5.0.1.20140414130214 remote: installing addressable 2.3.8 remote: installing json 1.8.3 remote: installing extlib 0.9.16 remote: installing rinku 1.5.1 remote: installing multi_json 1.11.0 remote: installing browser 0.8.0 remote: using bundler 1.9.7 remote: installing thor 0.19.1 remote: installing hike 1.2.3 remote: installing tilt 1.4.1 remote: installing crack 0.1.8 remote: installing redcarpet 3.2.3 remote: installing excon 0.45.3 remote: installing bcrypt 3.1.10 remote: installing netrc 0.10.3 remote: installing weekdays 1.0.2 remote: installing libxml-ruby 2.8.0 remote: installing chartkick 1.3.2 remote: installing chunky_png 1.3.4 remote: installing cocoon 1.2.6 remote: installing unf_ext 0.0.7.1 remote: installing coffee-script-source 1.9.1.1 remote: installing execjs 2.5.2 remote: installing sass 3.4.15 remote: installing rb-fsevent 0.9.4 remote: installing connection_pool 2.2.0 remote: installing hitimes 1.2.2 remote: installing multipart-post 2.0.0 remote: installing jwt 1.5.1 remote: installing little-plugger 1.1.3 remote: installing memoist 0.12.0 remote: installing retriable 1.4.1 remote: installing mini_portile 0.6.2 remote: installing oauth 0.4.7 remote: installing multi_xml 0.5.5 remote: installing temple 0.7.6 remote: installing orm_adapter 0.5.0 remote: installing request_store 1.1.0 remote: installing ezcrypto 0.7.2 remote: installing sax-machine 1.3.2 remote: installing formatador 0.2.5 remote: installing net-ssh 2.9.2 remote: installing ipaddress 0.8.0 remote: installing inflecto 0.0.2 remote: installing hashie 3.4.1 remote: installing high_voltage 2.3.0 remote: installing htmlentities 4.3.3 remote: installing http_accept_language 2.0.5 remote: installing httpclient 2.6.0.1 remote: installing curb 0.8.8 remote: installing mini_magick 4.2.4 remote: installing mixpanel-ruby 2.1.0 remote: installing newrelic_rpm 3.12.0.288 remote: installing ffi 1.9.8 remote: installing rails_serve_static_assets 0.0.4 remote: installing rails_stdout_logging 0.0.3 remote: installing kgio 2.9.3 remote: installing rb-readline 0.5.2 remote: installing redis 3.2.1 remote: installing ruby-ole 1.2.11.8 remote: installing valuable 0.9.9 remote: installing state_machine 1.2.0 remote: installing fission 0.5.0 remote: installing tzinfo 1.2.2 remote: installing rack-test 0.6.3 remote: installing warden 1.2.3 remote: installing heroku-deflater 0.5.3 remote: installing mail 2.6.3 remote: installing launchy 2.4.3 remote: installing autoparse 0.3.3 remote: installing sprockets 2.12.3 remote: installing httparty 0.6.1 remote: installing auto_html 1.6.4 remote: installing mailchimp-api 2.0.6 remote: installing unf 0.1.4 remote: installing coffee-script 2.4.1 remote: installing uglifier 2.7.1 remote: installing compass-core 1.0.3 remote: installing compass-import-once 1.0.5 remote: installing timers 4.0.1 remote: installing faraday 0.9.1 remote: installing logging 2.0.0 remote: installing pg 0.17.1 remote: installing slim 3.0.6 remote: installing net-scp 1.2.1 remote: installing omniauth 1.2.2 remote: installing video_info 2.4.2 remote: installing rb-inotify 0.9.5 remote: installing raindrops 0.13.0 remote: installing ethon 0.7.3 remote: installing rails_12factor 0.0.3 remote: installing redis-namespace 1.5.2 remote: installing spreadsheet 1.0.3 remote: installing activesupport 4.1.11 remote: installing domain_name 0.5.24 remote: installing celluloid 0.16.0 remote: installing signet 0.6.1 remote: installing oauth2 1.0.0 remote: installing fog-core 1.30.0 remote: installing omniauth-oauth 1.1.0 remote: installing compass 1.0.3 remote: installing typhoeus 0.7.1 remote: installing to_xls 1.5.3 remote: installing actionview 4.1.11 remote: installing activemodel 4.1.11 remote: installing enumerate_it 1.2.6 remote: installing i18n_alchemy 0.2.1 remote: installing pundit 1.0.0 remote: installing http-cookie 1.0.2 remote: installing sidekiq 3.1.4 remote: installing googleauth 0.4.1 remote: installing omniauth-oauth2 1.3.0 remote: installing fog-json 1.0.1 remote: installing fog-local 0.2.1 remote: installing fog-vmfusion 0.1.0 remote: installing omniauth-twitter 1.2.0 remote: installing compass-960-plugin 0.10.4 remote: installing mixpanel_client 4.1.2 remote: installing nokogiri 1.6.6.2 remote: installing actionpack 4.1.11 remote: installing active_model_serializers 0.8.0 remote: installing activerecord 4.1.11 remote: installing carrierwave 0.10.0 remote: installing rails-observers 0.1.2 remote: installing protected_attributes 1.0.9 remote: installing rest-client 1.8.0 remote: installing spectator-validates_email 0.2.0 remote: installing google-api-client 0.8.6 remote: installing omniauth-facebook 2.0.1 remote: installing fog-sakuracloud 1.0.1 remote: installing fog-brightbox 0.7.1 remote: installing fog-serverlove 0.1.2 remote: installing fog-softlayer 0.4.6 remote: installing fog-storm_on_demand 0.1.1 remote: installing loofah 2.0.2 remote: installing fog-xml 0.1.2 remote: installing actionmailer 4.1.11 remote: using moip 1.0.2 git://github.com/catarse/moip-ruby.git (at c0225ad) remote: using best_in_place 3.0.0.alpha git://github.com/bernat/best_in_place (at ee95961) remote: installing unicorn 4.9.0 remote: installing has_scope 0.6.0 remote: installing kaminari 0.16.3 remote: installing railties 4.1.11 remote: installing sprockets-rails 2.3.2 remote: installing draper 2.1.0 remote: installing routing-filter 0.4.0.1 remote: installing simple_form 3.1.0 remote: installing ranked-model 0.4.0 remote: installing pg_search 1.0.3 remote: installing schema_plus 1.8.9 remote: installing pagarme 1.10.0 remote: installing fog-atmos 0.1.0 remote: installing feedjira 1.6.0 remote: installing google_drive 1.0.1 remote: installing fog-ecloud 0.1.1 remote: installing fog-google 0.0.5 remote: installing fog-powerdns 0.1.1 remote: installing fog-aws 0.2.2 remote: installing fog-profitbricks 0.0.2 remote: installing fog-radosgw 0.0.4 remote: installing fog-riakcs 0.1.0 remote: installing fog-terremark 0.1.0 remote: installing fog-voxel 0.1.0 remote: installing mail_form 1.5.1 remote: installing coffee-rails 4.1.0 remote: installing responders 1.1.2 remote: installing slim-rails 3.0.1 remote: installing sass-rails 5.0.1 remote: installing rails 4.1.11 remote: installing devise 3.4.1 remote: installing inherited_resources 1.6.0 remote: using catarse_api 0.0.2 git://github.com/catarse/catarse_api.git (at master) remote: installing compass-rails 2.0.4 remote: installing catarse_monkeymail 0.1.6 remote: installing catarse_moip 3.2.0 remote: installing catarse_settings_db 0.1.1 remote: installing catarse_pagarme 2.6.10 remote: installing postgres-copy 0.9.2 remote: installing dbhero 1.1.8 remote: using redactor-rails 0.5.0 git://github.com/catarse/redactor-rails.git (at master) remote: installing fog 1.30.0 remote: installing user_notifier 0.0.5 remote: bundle complete! 85 gemfile dependencies, 192 gems installed remote: gems in groups development , test not installed. remote: bundled gems installed ./vendor/bundle. remote: post-install message httparty: remote: when httparty, must party hard! remote: post-install message compass: remote: compass charityware. if love it, please donate on our behalf @ http://umdf.org/compass thanks! remote: bundle completed (174.96s) remote: cleaning bundler cache. remote: -----> preparing app rails asset pipeline remote: running: rake assets:precompile remote: rake aborted! remote: syntaxerror: /tmp/build_97424fde514623846dbc1198d6b0f17f/config/environments/production.rb:91: syntax error, unexpected ... remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/config/environments/production.rb:93: syntax error, unexpected ..., expecting keyword_end remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.11/lib/active_support/dependencies.rb:247:in `require' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.11/lib/active_support/dependencies.rb:247:in `block in require' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.11/lib/active_support/dependencies.rb:232:in `load_dependency' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.11/lib/active_support/dependencies.rb:247:in `require' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/railties-4.1.11/lib/rails/engine.rb:594:in `block (2 levels) in <class:engine>' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/railties-4.1.11/lib/rails/engine.rb:593:in `each' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/railties-4.1.11/lib/rails/engine.rb:593:in `block in <class:engine>' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/railties-4.1.11/lib/rails/initializable.rb:30:in `instance_exec' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/railties-4.1.11/lib/rails/initializable.rb:30:in `run' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/railties-4.1.11/lib/rails/initializable.rb:55:in `block in run_initializers' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/railties-4.1.11/lib/rails/initializable.rb:44:in `each' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/railties-4.1.11/lib/rails/initializable.rb:44:in `tsort_each_child' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/railties-4.1.11/lib/rails/initializable.rb:54:in `run_initializers' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/railties-4.1.11/lib/rails/application.rb:300:in `initialize!' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/railties-4.1.11/lib/rails/railtie.rb:194:in `public_send' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/railties-4.1.11/lib/rails/railtie.rb:194:in `method_missing' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/config/environment.rb:7:in `<top (required)>' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.11/lib/active_support/dependencies.rb:247:in `require' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.11/lib/active_support/dependencies.rb:247:in `block in require' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.11/lib/active_support/dependencies.rb:232:in `load_dependency' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.11/lib/active_support/dependencies.rb:247:in `require' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/railties-4.1.11/lib/rails/application.rb:276:in `require_environment!' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.0/gems/railties-4.1.11/lib/rails/application.rb:405:in `block in run_tasks_blocks' remote: /tmp/build_97424fde514623846dbc1198d6b0f17f/vendor/bundle/ruby/2.2.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 running task --trace) remote: ! remote: ! precompiling assets failed. remote: ! remote: remote: ! push rejected, failed compile ruby app remote: remote: verifying deploy.... remote: remote: ! push rejected immense-depths-6113. remote: https://git.heroku.com/immense-depths-6113.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed push refs 'https://git.heroku.com/immense-depths-6113.git'
note config/application.rb set config.assets.initialize_on_precompile = false
, problem not that..
from have provided on lines 90 through 94, seems if ...
causing issue - invalid syntax. try rewriting so:
config.secret_key_base = env["secret_key_base"]
because rails.application.configure do
, end
specified @ start , end of file respectively, repetition of lines not necessary. should fix syntax issue.
hope helps!
Comments
Post a Comment