概要 Herokuを利用してアプリを公開しているが、いつも通りモデルを追加してデプロイし、rails db:migrateをしたら以下のようなエラーが発生! Gem::LoadError: Specified 'postgresql' for database adapter, but the gem is not loaded. Add `gem 'pg'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord). herokuでは、mySQLは使用できず、postgresqlを使用することが推奨されている。 そのため、gemfileにはpgを追加して、postgresqlを使用している。 この環境で今まで動いていたのにいきなりエラーを吐くようになってしまった... 確認しても