Installing only the client hero, and not other things

I use RVM for my Ruby installations.

I recently ran into the problem of installing the heroku dashboard with installing Ruby 1.9.1 on my real system, which then overwrites the environment variables and breaks my ruby ​​cli. I had to remove everything, reinstall RVM, reinstall gems, ect ect ..

The fact is that I want to use the heroku client and possibly the wizard, but I do not want toolbelt trying to install git and ruby ​​1.9.1 on my system.

I tried to execute the gem installation version, but it indicated that the gem had depreciated, and for me to install toolbelt.

Any help would be greatly appreciated.

Thanks for all the thoughtful answers.

+4
source share
2 answers

Go to Heroku CLI on github and load the tarball from another setting. Extract Tarball and move the resulting files to /usr/local/heroku . Add /usr/local/heroku/bin to your PATH . Make sure the Heroku gem is removed from any archival material in the project. Reboot the terminal and the Heroku CLI should work.

You can run which heroku from your project directory, and you should get /usr/local/heroku/bin/heroku .

As self-updating, you only need to do this once.

If you want Foreman to just use the Gem version.

Git and Ruby will not be installed using this process.

Update: Heroku now has a script installed to install Heroku client offline without Foreman and Git.

+6
source

On Windows, the Heroku Toolbelt installer offers a choice between a full installation and a custom installation. If you select Custom, you can choose which components you want to install.

enter image description here

0
source

Source: https://habr.com/ru/post/1440456/


All Articles