gpt4 book ai didi

ruby-on-rails - Heroku db :push doesnt work. 说即使在安装了 Taps 之后它也需要安装 Taps

转载 作者:行者123 更新时间:2023-12-04 03:44:34 25 4
gpt4 key购买 nike

我似乎无法让 heroku 到 db:push,即使我已经安装了水龙头。它似乎不相信我。我还检查并在这里找到了一个文件夹:/Library/Ruby/Gems/1.8/gems/taps-0.2.23/

UM4345s-MacBook-Pro:photosite $ sudo gem install taps
Password:
Successfully installed rack-1.1.0
Successfully installed sinatra-0.9.2
Successfully installed thor-0.9.9
Successfully installed
rest-client-1.2.0 Successfully
installed sequel-3.0.0 Successfully
installed taps-0.2.23 6 gems installed
Installing ri documentation for
rack-1.1.0... Installing ri
documentation for sinatra-0.9.2...
Installing ri documentation for
thor-0.9.9... Installing ri
documentation for rest-client-1.2.0...
Installing ri documentation for
sequel-3.0.0... Installing ri
documentation for taps-0.2.23...
Installing RDoc documentation for
rack-1.1.0... Installing RDoc
documentation for sinatra-0.9.2...
Installing RDoc documentation for
thor-0.9.9... Installing RDoc
documentation for rest-client-1.2.0...
Installing RDoc documentation for
sequel-3.0.0... Installing RDoc
documentation for taps-0.2.23...
UM4345s-MacBook-Pro:photosite $heroku db:push
Install the Taps gem
to use db commands. On most systems
this will be: sudo gem install taps
UM4345s-MacBook-Pro:photosite $ sudo gem install taps
Password: Successfully installed
taps-0.2.23 1 gem installed Installing
ri documentation for taps-0.2.23...
Installing RDoc documentation for
taps-0.2.23...
UM4345s-MacBook-Pro:photosite$ $heroku db:push
Install the Taps gem
to use db commands. On most systems
this will be: sudo gem install taps

最佳答案

这可以通过升级您的 heroku gem 来解决

gem update heroku

根据您的环境,您可能还需要 sudo。

关于ruby-on-rails - Heroku db :push doesnt work. 说即使在安装了 Taps 之后它也需要安装 Taps,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2025234/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com