I've searched everywhere for an answer to this questions, but none of the solutions seem to account for the difficulty I'm having.
Currently, I have Sqlite in my :development, test do and Postgres in my :production, as shown below
group :development, :test do
gem 'sqlite3', '1.3.12'
gem 'byebug', '9.0.0', platform: :mri
end
group :production do
gem 'pg', '0.18.4'
end
However, when attempting to Deploy to Heroku, I still keep getting the error:
remote: An error occurred while installing sqlite3 (1.3.12),
and Bundler cannot
remote: continue.
remote: Make sure that `gem install sqlite3 -v '1.3.12'` succeeds
before bundling.
I've tried migrating the database, uninstalling and reinstalling the gemfile, and changing the config file to contain postgres SQL in production, but I still can't deploy the Ap without this error. I'd really appreciate any help anyone could offer! Thank you.