user1495786
user1495786

Reputation: 11

heroku db:push Taps Load Error:

Does anyone facing this problem according to push data to heroku postgres using heroku db:push

here's error

D:\workspace\gitrepo\xxx> heroku db:push

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

after this error occured I've try to use add a Database_url somethings like this

D:\workspace\gitrepo\xxx> heroku db:push postgres://postgres:mypassword@localhost:5432

It's showing the same error

So I've try to re-install new taps using command

sudo heroku install taps

showing error

'sudo' is not recognized as an internal or external command,
operable program or batch file.

My workstation information

Upvotes: 1

Views: 493

Answers (2)

Michael Durrant
Michael Durrant

Reputation: 96484

Make sure you have ruby installed, then:

Open the command shell (‘Start’ >> ‘Run’ >> ‘cmd’), and navigate to the ruby bin directory. normally this will be C:\ruby and run gem install taps –include-dependencies; this should install the gem.

Upvotes: 0

David S
David S

Reputation: 13851

sudo is a linux command. It seems from your questions, you are using Windows 7. So, that is not going to work for you.

Upvotes: 1

Related Questions