cloud9
Rails 5.1.4
ruby 2.4
cloud9にてherokuへのデプロイを行いましたが
We're sorry, but something went wrong.
If you are the application owner check the logs for more information.
となり失敗しました。
原因がよく分からず私自身の勉強不足もありますがデバッグをご教示下さい!!
Ruby
1Gemfile 2 3group :development, :test do 4 # Call 'byebug' anywhere in the code to stop execution and get a debugger console 5 gem 'byebug', '9.0.6', platform: :mri 6 # Adds support for Capybara system testing and selenium driver 7 gem 'capybara', '~> 2.13' 8 gem 'selenium-webdriver' 9 # Use sqlite3 as the database for Active Record 10 gem 'sqlite3', '1.3.13' 11end 12 13 group :production do 14 gem 'pg', '0.20.0' 15end 16
database.yml # SQLite version 3.x # gem install sqlite3 # # Ensure the SQLite 3 gem is defined in your Gemfile # gem 'sqlite3' # default: &default adapter: sqlite3 pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> timeout: 5000 development: <<: *default database: db/development.sqlite3 # Warning: The database defined as "test" will be erased and # re-generated from your development database when you run "rake". # Do not set this db to the same as development or production. test: <<: *default database: db/test.sqlite3 production: <<: *default adapter: postgresql encoding: unicode pool: 5
エラーメッセージ "We're sorry, but something went wrong." を検索キーワードとして検索すると、同様な症状とその解決策が見出せるかもしれません。試しましたか?
言葉足らずで申し訳ありませんでした。
上記のように検索してmigrateなど試しましたが解決せず質問したに至ります。
$ heroku --version
を試すと
This is the legacy Heroku CLI. Please install the new CLI from https://cli.heroku.com
heroku/7.19.4 linux-x64 node-v11.3.0
というメッセージが出るのですがアップデートが必要なのでしょうか?