Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Git Basics Workflows Git-Flow

Sam Bass
Sam Bass
9,038 Points

Trying to install git flow in Mac OS X

I'm in the terminal and input "brew install git-flow" but I get this error: "/usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory /usr/local/bin/brew: line 26: /usr/local/Library/brew.rb: Undefined error: 0".

What can I do to install git flow in my Mac OS X running Yosemite Ver.10.10.3?

2 Answers

Andi Wilkinson
Andi Wilkinson
26,822 Points

I installed homebrew via the console, & then installed git flow

Stephen Emery
Stephen Emery
14,384 Points

You can install Homebrew first by running this code in terminal:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Then run:

brew install git-flow