論盡蛋
心で書く

Unknown Heroku pull not working

According to this article, we can use heroku pull to export data from heroku's db to local db.

(Pulling my blog's posts down for the test of changing markdown engine)

However, I am getting this error:

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

OK, it asked me to install taps, so I ran gem install taps (without sudo intendedly).

Then I ran again heroku pull, now a slightly different error occurred:

!    Taps Load Error: cannot load such file -- 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

What? install taps again..? But you mentioned cannot load sqlite3. I didn't use sqlite3 in this project, maybe taps internally uses sqlite3? OK, I try to install sqlite3 with gem install sqlite3.

Finally heroku pull works.


comments powered by Disqus