heroku アプリ名 asobisarch
rails 5.2.4.1
ruby 2.6.0
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail
というエラーがでて、 指示どうりに heroku logs --tail を実行しました。
すると
2020-01-03T23:11:44.741205+00:00 app[web.1]: /usr/lib/ruby/2.3.0/rubygems.rb:241:in `bin_path': can't find gem bundler (>= 0) (Gem::GemNotFoundException)
というエラーがでて、
heroku run rake db:migrate
を試してみると
Running rake db:migrate on ⬢ asobisarch... up, run.1055 (Free) rake aborted! LoadError: cannot load such file -- bundler/setup /app/config/boot.rb:3:in `<top (required)>' /app/config/application.rb:1:in `require_relative' /app/config/application.rb:1:in `<top (required)>' /app/Rakefile:4:in `require_relative' /app/Rakefile:4:in `<top (required)>' (See full trace by running task with --trace)
というのもでます。助けてください。
ちなみにGemfileではrails 5.2.3を指定しているのに、
rails -v ってやると5.2.4.1なんですよね。。
しかも
warning: constant Gem::ConfigMap is deprecated Rails 5.2.4.1
というのも出てしまいます。
一度アンインストールしたほうがいいのでしょうか
回答1件
あなたの回答
tips
プレビュー