kinduff
kinduff

Reputation: 142

Heroku db:pull db:push Taps Load Error sqlite3

Trying to push or pull heroku's db by doing this:

heroku db:pull OR heroku db:push

And I got the next output

!    Taps Load Error: no such file to load -- sqlite3
!    You may need to install or update the taps gem to use db commands.
!    On most systems this will be:
!    
!    sudo gem install taps

Upvotes: 0

Views: 178

Answers (1)

kinduff
kinduff

Reputation: 142

There are two ways to do this. The first one is by adding in your project's gem file the next line (doesn't matter if you're using postgres db)

gem 'sqlite3'

And the other solution is to view the source code of the taps gem at path/to/taps/lib/taps and remove from the file cli.rb the line 10:

require 'sqlite3'

Upvotes: 1

Related Questions