Rails ``` herokuへのデプロイで git push heroku master をすると下記のエラーに毎回なってしまいます。 どなたかお助けください、、、、 ``` remote: ! remote: ! Could not detect rake tasks remote: ! ensure you can run `$ bundle exec rake -P` against your app remote: ! and using the production group of your Gemfile. remote: ! rake aborted! remote: ! NoMethodError: undefined method `load_tasks' for nil:NilClass remote: ! /tmp/build_5acebea364fb833e47a864863383ebb3/Rakefile:6:in `<top (required)>' remote: ! /tmp/build_5acebea364fb833e47a864863383ebb3/vendor/bundle/ruby/2.4.0/gems/rake-12.3.1/lib/rake/rake_module.rb:29:in `load' remote: ! /tmp/build_5acebea364fb833e47a864863383ebb3/vendor/bundle/ruby/2.4.0/gems/rake-12.3.1/lib/rake/rake_module.rb:29:in `load_rakefile' remote: ! /tmp/build_5acebea364fb833e47a864863383ebb3/vendor/bundle/ruby/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:703:in `raw_load_rakefile' remote: ! /tmp/build_5acebea364fb833e47a864863383ebb3/vendor/bundle/ruby/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:104:in `block in load_rakefile' remote: ! /tmp/build_5acebea364fb833e47a864863383ebb3/vendor/bundle/ruby/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:186:in `standard_exception_handling' remote: ! /tmp/build_5acebea364fb833e47a864863383ebb3/vendor/bundle/ruby/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:103:in `load_rakefile' remote: ! /tmp/build_5acebea364fb833e47a864863383ebb3/vendor/bundle/ruby/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:82:in `block in run' remote: ! /tmp/build_5acebea364fb833e47a864863383ebb3/vendor/bundle/ruby/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:186:in `standard_exception_handling' remote: ! /tmp/build_5acebea364fb833e47a864863383ebb3/vendor/bundle/ruby/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:80:in `run' remote: ! /tmp/build_5acebea364fb833e47a864863383ebb3/vendor/bundle/ruby/2.4.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>' remote: ! vendor/bundle/bin/rake:17:in `load' remote: ! vendor/bundle/bin/rake:17:in `<main>' remote: ! remote: /app/tmp/buildpacks/f6d48d8a14fccbb19c0c0402fca224929d18e9ee042b3e204bc5992612e990d3b3a0fb1f9627b1a3bae11e9fa20dffc96e136bd734a2f3cf92a0d05bedd42cfe/lib/language_pack/helpers/rake_runner.rb:106:in `load_rake_tasks!': Could not detect rake tasks (LanguagePack::Helpers::RakeRunner::CannotLoadRakefileError) remote: ensure you can run `$ bundle exec rake -P` against your app remote: and using the production group of your Gemfile. remote: rake aborted! remote: NoMethodError: undefined method `load_tasks' for nil:NilClass remote: /tmp/build_5acebea364fb833e47a864863383ebb3/Rakefile:6:in `<top (required)>' ================= remote: ! Push rejected, failed to compile Ruby app. remote: remote: ! Push failed remote: Verifying deploy... remote: remote: ! Push rejected to ///-27048. remote: To https://git.heroku.com////-27048.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com////-27048.git' ``` 現在エラーの模様が下記に変わってまいりましたのでご報告させていただきます。。。。 ``` remote: /tmp/build_acfaf784ed1b31bb563b8f26ec29bdfa/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' remote: /tmp/build_acfaf784ed1b31bb563b8f26ec29bdfa/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' remote: /tmp/build_acfaf784ed1b31bb563b8f26ec29bdfa/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' remote: /tmp/build_acfaf784ed1b31bb563b8f26ec29bdfa/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' remote: /tmp/build_acfaf784ed1b31bb563b8f26ec29bdfa/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' remote: /tmp/build_acfaf784ed1b31bb563b8f26ec29bdfa/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' remote: /tmp/build_acfaf784ed1b31bb563b8f26ec29bdfa/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' remote: /tmp/build_acfaf784ed1b31bb563b8f26ec29bdfa/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' remote: /tmp/build_acfaf784ed1b31bb563b8f26ec29bdfa/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' remote: /tmp/build_acfaf784ed1b31bb563b8f26ec29bdfa/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' remote: /tmp/build_acfaf784ed1b31bb563b8f26ec29bdfa/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' ``` ``` remote: ! remote: ! Precompiling assets failed. remote: ! ``` ``` source 'https://rubygems.org' gem 'rails', '4.2.6' gem 'sass-rails', '~> 5.0' gem 'uglifier', '>= 1.3.0' gem 'coffee-rails', '~> 4.1.0' gem 'jquery-rails' gem 'turbolinks' gem 'jbuilder', '~> 2.0' gem 'sdoc', '~> 0.4.0', group: :doc gem 'bootstrap-sass', '~> 3.3.6' gem 'devise' gem 'toastr-rails' gem 'omniauth-facebook' gem "paperclip", "~> 5.0.0.beta1" gem 'dropzonejs-rails' gem "figaro", "~> 1.1.0" group :production do gem 'pg' gem 'rails_12factor' end group :development, :test do gem 'sqlite3' end group :development, :test do gem 'byebug' end group :development do background. Read more: https://github.com/rails/spring gem 'spring' end ``` Gemはこんな感じでございます、、 バージョンの問題等でしょうか、、、、、 すいません、、、
あなたの回答
tips
プレビュー