Skip to content

Instantly share code, notes, and snippets.

@liulupeng1987
Created February 18, 2017 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liulupeng1987/6b30e1e9db92320e70d937d2b57d1c90 to your computer and use it in GitHub Desktop.
Save liulupeng1987/6b30e1e9db92320e70d937d2b57d1c90 to your computer and use it in GitHub Desktop.
git push heroku story5:master 错误
liulupeng@liulupengdeMacBook-Pro ⮀ ~/jdstore ⮀ ⭠ story5 ⮀ git push heroku story5:master
Counting objects: 689, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (626/626), done.
Writing objects: 100% (689/689), 85.35 KiB | 0 bytes/s, done.
Total 689 (delta 378), reused 67 (delta 4)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.2.6
remote: -----> Installing dependencies using bundler 1.13.7
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote: Fetching gem metadata from https://rubygems.org/.........
remote: Fetching version metadata from https://rubygems.org/..
remote: Fetching dependency metadata from https://rubygems.org/.
remote: Installing CFPropertyList 2.3.5
remote: Installing aasm 4.11.1
remote: Installing rake 11.2.2
remote: Installing concurrent-ruby 1.0.2
remote: Installing i18n 0.7.0
remote: Installing minitest 5.9.0
remote: Installing thread_safe 0.3.5
remote: Installing builder 3.2.2
remote: Installing erubis 2.7.0
remote: Installing mini_portile2 2.1.0
remote: Installing pkg-config 1.1.7
remote: Installing nio4r 1.2.1 with native extensions
remote: Installing rack 2.0.1
remote: Installing websocket-extensions 0.1.2
remote: Installing mime-types-data 3.2016.0521
remote: Installing arel 7.1.1
remote: Installing execjs 2.7.0
remote: Installing bcrypt 3.1.11 with native extensions
remote: Installing sass 3.4.22
remote: Installing coffee-script-source 1.10.0
remote: Installing method_source 0.8.2
remote: Installing thor 0.19.1
remote: Installing orm_adapter 0.5.0
remote: Installing excon 0.55.0
remote: Installing formatador 0.2.5
remote: Installing multi_json 1.12.1
remote: Installing ipaddress 0.8.3
remote: Installing xml-simple 1.1.5
remote: Installing inflecto 0.0.2
remote: Installing json 2.0.3 with native extensions
remote: Installing trollop 2.1.2
remote: Installing mini_magick 4.6.0
remote: Installing pg 0.19.0 with native extensions
remote: Installing puma 3.6.0 with native extensions
remote: Using bundler 1.13.7
remote: Installing tilt 2.0.5
remote: Installing turbolinks-source 5.0.0
remote: Installing fission 0.5.0
remote: Installing tzinfo 1.2.2
remote: Installing nokogiri 1.6.8 with native extensions
remote: Installing rack-test 0.6.3
remote: Installing warden 1.2.6
remote: Installing sprockets 3.7.0
remote: Installing websocket-driver 0.6.4 with native extensions
remote: Installing mime-types 3.1
remote: Installing uglifier 3.0.1
remote: Installing autoprefixer-rails 6.5.4
remote: Installing coffee-script 2.4.1
remote: Installing figaro 1.1.1
remote: Installing fog-core 1.43.0
remote: Installing turbolinks 5.0.0
remote: Installing activesupport 5.0.0
remote: Installing loofah 2.0.3
remote: Installing mail 2.6.4
remote: Installing rbvmomi 1.9.4
remote: Installing bootstrap-sass 3.3.7
remote: Installing fog-json 1.0.2
remote: Installing fog-xml 0.1.2
remote: Installing fog-local 0.3.1
remote: Installing fog-vmfusion 0.1.0
remote: Installing rails-html-sanitizer 1.0.3
remote: Installing fog-vsphere 1.7.0
remote: Installing rails-dom-testing 2.0.1
remote: Installing globalid 0.3.7
remote: Installing activemodel 5.0.0
remote: Installing jbuilder 2.6.0
remote: Installing fog-aliyun 0.1.0
remote: Installing fog-brightbox 0.11.0
remote: Installing fog-openstack 0.1.19
remote: Installing fog-profitbricks 3.0.0
remote: Installing fog-sakuracloud 1.7.5
remote: Installing fog-serverlove 0.1.2
remote: Installing fog-storm_on_demand 0.1.1
remote: Installing fog-softlayer 1.1.4
remote: Installing fog-atmos 0.1.0
remote: Installing fog-aws 1.2.0
remote: Installing fog-cloudatcost 0.1.2
remote: Installing fog-dynect 0.0.3
remote: Installing fog-ecloud 0.3.0
remote: Installing fog-google 0.1.0
remote: Installing fog-powerdns 0.1.1
remote: Installing fog-rackspace 0.1.4
remote: Installing fog-radosgw 0.0.5
remote: Installing fog-riakcs 0.1.0
remote: Installing fog-terremark 0.1.0
remote: Installing fog-voxel 0.1.0
remote: Installing fog-xenserver 0.2.3
remote: Installing actionview 5.0.0
remote: Installing activejob 5.0.0
remote: Installing carrierwave 1.0.0
remote: Installing activerecord 5.0.0
remote: Installing actionpack 5.0.0
remote: Installing actioncable 5.0.0
remote: Installing actionmailer 5.0.0
remote: Installing fog 1.38.0
remote: Installing sprockets-rails 3.1.1
remote: Installing railties 5.0.0
remote: Installing simple_form 3.3.1
remote: Installing coffee-rails 4.2.1
remote: Installing responders 2.3.0
remote: Installing jquery-rails 4.1.1
remote: Installing font-awesome-rails 4.7.0.1
remote: Installing rails 5.0.0
remote: Installing sass-rails 5.0.6
remote: Installing devise 4.2.0
remote: Bundle complete! 24 Gemfile dependencies, 105 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 (34.62s)
remote: Cleaning up the bundler cache.
remote: -----> Detecting rake tasks
remote: -----> Preparing app for Rails asset pipeline
remote: Running: rake assets:precompile
remote: rake aborted!
remote: ArgumentError: Missing required arguments: aws_access_key_id, aws_secret_access_key
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/fog-core-1.43.0/lib/fog/core/service.rb:244:in `validate_options'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/fog-core-1.43.0/lib/fog/core/service.rb:268:in `handle_settings'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/fog-core-1.43.0/lib/fog/core/service.rb:98:in `new'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/fog-core-1.43.0/lib/fog/core/services_mixin.rb:16:in `new'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/fog-core-1.43.0/lib/fog/storage.rb:27:in `new'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/carrierwave-1.0.0/lib/carrierwave/uploader/configuration.rb:123:in `eager_load_fog'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/carrierwave-1.0.0/lib/carrierwave/uploader/configuration.rb:136:in `fog_credentials='
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/config/initializers/carrierwave.rb:4:in `block in <top (required)>'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/carrierwave-1.0.0/lib/carrierwave/uploader/configuration.rb:158:in `configure'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/carrierwave-1.0.0/lib/carrierwave.rb:14:in `configure'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/config/initializers/carrierwave.rb:1:in `<top (required)>'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.0/lib/active_support/dependencies.rb:287:in `load'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.0/lib/active_support/dependencies.rb:287:in `block in load'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.0/lib/active_support/dependencies.rb:259:in `load_dependency'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.0/lib/active_support/dependencies.rb:287:in `load'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0/lib/rails/engine.rb:648:in `block in load_config_initializer'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.0/lib/active_support/notifications.rb:166:in `instrument'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0/lib/rails/engine.rb:647:in `load_config_initializer'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0/lib/rails/engine.rb:611:in `each'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0/lib/rails/engine.rb:611:in `block in <class:Engine>'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0/lib/rails/initializable.rb:30:in `instance_exec'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0/lib/rails/initializable.rb:30:in `run'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0/lib/rails/initializable.rb:55:in `block in run_initializers'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0/lib/rails/initializable.rb:44:in `each'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0/lib/rails/initializable.rb:44:in `tsort_each_child'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0/lib/rails/initializable.rb:54:in `run_initializers'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0/lib/rails/application.rb:352:in `initialize!'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/config/environment.rb:5:in `<top (required)>'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.0/lib/active_support/dependencies.rb:293:in `require'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.0/lib/active_support/dependencies.rb:293:in `block in require'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.0/lib/active_support/dependencies.rb:259:in `load_dependency'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.0/lib/active_support/dependencies.rb:293:in `require'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0/lib/rails/application.rb:328:in `require_environment!'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0/lib/rails/application.rb:448:in `block in run_tasks_blocks'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/sprockets-rails-3.1.1/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
remote: /tmp/build_6cbb8e3dcbe315e69aeb4f44fb3f9c48/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/exe/rake:27:in `<top (required)>'
remote: Tasks: TOP => environment
remote: (See full trace by running task with --trace)
remote: !
remote: ! Precompiling assets failed.
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
remote: Verifying deploy....
remote:
remote: ! Push rejected to afternoon-oasis-40787.
remote:
To https://git.heroku.com/afternoon-oasis-40787.git
! [remote rejected] story5 -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/afternoon-oasis-40787.git'
✘ liulupeng@liulupengdeMacBook-Pro ⮀ ~/jdstore ⮀ ⭠ story5 ⮀
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment