根据将数据推送到heroku postgres,是否有人面临这个问题heroku db:push
这是错误
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
发生此错误后,我尝试使用添加类似这样的 Database_url
D:\workspace\gitrepo\xxx> heroku db:push postgres://postgres:mypassword@localhost:5432
它显示相同的错误
所以我尝试使用命令重新安装新水龙头
sudo heroku install taps
显示错误
'sudo' is not recognized as an internal or external command,
operable program or batch file.
我的工作站信息
- 操作系统:窗口 7
- Heroku Toolbelt 最新版本于 2012 年 7 月 2 日下载
宝石
D:\workspace\gitrepo\xxx> gem list *** LOCAL GEMS *** foreman (0.47.0, 0.45.0) mime-types (1.18) minitest (1.6.0) rack (1.4.1) rake (0.8.7) rdoc (2.5.8) rest-client (1.6.7) sequel (3.20.0) sinatra (1.0) taps (0.3.24) thor (0.15.0)