Heroku Is Trying To Install Sqlite3 Gem Even It Not Being In The Gemfile
Solution 1:
When I ran into the problem, turns out I'd forgotten to commit my changes after bundle install. Doh! git status should indicate unstaged changes for the gem files.
Solution 2:
I has the same problem and zoltarSpeaks' solution fixed it for me. I had the taps gem installed after reading this article that indicated it would be necessary for pushing from a local sqlite3 to production postgresql: http://batsov.com/articles/2011/10/30/deploying-rails31-apps-on-celadon-cedar/. Turned out I didn't need the taps gem after all, but it was clearly the problem. Removed the reference, bundle update, all systems go.
Solution 3:
Solution 4:
Simple solution without uninstalling sqlite3 gem for Heroku:
Add to Gemfile:
group :productiondo
gem 'pg', '0.17.1'#or version of pg you want
gem 'rails_12factor', '0.0.2'#Heroku static assets for image and cssCheck, that you have:
endendat the end of code in Gemfile
than Save Gemfile and run bundle install
$ bundle install --without productionthan commit
$ git commit -a -m "Update Gemfile.lock for Heroku"than
$ git push heroku master
That is all. You will get only a few warnings which is simply to fix.
Post a Comment for "Heroku Is Trying To Install Sqlite3 Gem Even It Not Being In The Gemfile"