Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installed heroku-toolbelt with homebrew, and foreman isn't included

I'm using the homebrew package manager on Mac OSX, and I've installed the heroku-toolbelt package, which is supposed to include git, heroku CLI, and foreman. It only seems to include the first two:

$ brew info heroku-toolbelt
heroku-toolbelt: stable 3.20.0
https://toolbelt.heroku.com/other
/usr/local/Cellar/heroku-toolbelt/3.20.0 (438 files, 3.5M) *
Built from source
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/heroku-toolbelt.rb
$ which heroku
/usr/local/bin/heroku
$ which foreman
$ heroku --version
heroku-toolbelt/3.21.4 (x86_64-darwin13.0) ruby/2.1.2
$ foreman
bash: foreman: command not found

Any ideas why it's not appearing? Many thanks in advance.

like image 427
Tony Zito Avatar asked Jan 02 '15 16:01

Tony Zito


People also ask

What is heroku toolbelt?

The Heroku Toolbelt is a package of the Heroku CLI, Foreman, and Git — all the tools you need to get started using Heroku at the command line. The Toolbelt is available as a native installer for OS X, Windows, and Debian/Ubuntu Linux. The Toolbelt has been available since last fall as part of our polyglot platform.

How do I know if heroku is installed?

Open Command Prompt by right-clicking the Start Menu, choose Run, enter cmd and click OK. Now type heroku and press enter. If you receive a help message, heroku-cli was installed successfully.

How to run heroku CLI windows?

Install the Heroku CLI on Windows Once the installation is complete, open Git Bash. After you confirm that the Heroku CLI was installed correctly, type heroku login into the command line. You'll be prompted to enter any key to go to the web browser to complete login. The CLI will then log you in automatically.


1 Answers

If the heroku-toolbelt is installed through homebrew, you have the standalone version, as Daniel said.

If you like to install foreman as standalone as well, but with a package manager, you can install it as a gem:

gem install foreman

or

sudo gem install foreman

depending on how your ruby is setup.

More install info on foreman can be found on it's homepage.

like image 165
Tom Avatar answered Sep 24 '22 23:09

Tom