如何用Heroku Toolbelt替换Heroku宝石? [英] How do I replace the Heroku gem with Heroku Toolbelt?

查看:97
本文介绍了如何用Heroku Toolbelt替换Heroku宝石?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道我的密切相关的问题,但他们并没有帮助我。

I know that there are closely related question to mine but they did not help me.

我正在学习整个rails,gem,git,heroku概念和喜欢它很多。
当我发布了heroku命令行操作(Ubuntu linux)时,我收到警告说已不推荐使用该gem,我应该安装该工具栏。
我运行了工具带的完整wget安装:

I'm learning the whole rails, gem, git, heroku concept and liking it a lot. When I issued heroku command line actions (Ubuntu linux) I received warnings that the gem was deprecated and I should install the toolbelt. I ran the full wget install of the tool belt:

wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh

但是现在,当我使用heroku命令行时,我仍然收到不推荐使用的警告。
我怀疑我必须摆脱heroku宝石,但我不知道如何做到这一点?我想确保正确地做到这一点,所以它不会再通过捆绑器再次加载。
谢谢。

But now when I use the heroku command line I still get the deprecated warning. I suspect I have to get rid of the heroku gem but I'm not sure how to do that ? I want to be sure to do it correctly so it's not later loaded again via bundler. Thank you.

推荐答案

uninstall命令将删除所有gem。在这种情况下,您需要使用以下内容:

The uninstall command will remove any gem. In this case, you want to use the following:

gem uninstall heroku

这篇关于如何用Heroku Toolbelt替换Heroku宝石?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆