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

Ruby Build a Simple Ruby on Rails Application Getting Started with Rails Installing Rails (Mac)

Where do I proceed to install RoR for Yosemite 10.10?

I am trying to do the build a simple ruby course and the video is outdated with the current software. Where do I go to do this?

2 Answers

William Li
PLUS
William Li
Courses Plus Student 26,868 Points

Hi, David, Speaking of which, Treehouse just released a new workshop Installing a Ruby on Rails Development Environment in OS X 3 hours ago. You should definitely check it out.

Tim Knight
Tim Knight
28,888 Points

Hi David, the installation instructions available on https://teamtreehouse.com/library/installing-a-ruby-development-environment/installing-a-ruby-development-environment/installing-ruby-on-mac should get you going. It's currently mentioned in the course notes for the Build a Simple Ruby on Rails Application.

It will assume however that you do have Git installed on your machine so you can download certain applications to get things going. On a Mac git does come installed by default.

Another resource that might be helpful, depending on your comfort level with terminal would be https://gorails.com/setup/osx/10.10-yosemite but I think the first link should get you through it without any issue.

William Li
William Li
Courses Plus Student 26,868 Points

On a Mac git does come installed by default.

I'm not sure here. Does git come preinstalled on a Mac by default or is it distributed as part of the Xcode command line tools?

Tim Knight
Tim Knight
28,888 Points

I've used git on a fresh installation of mac before prior to Xcode. I believe however that Mac will update your version with Xcode command line tools. Mac does however come with a lot of development tools built in like git, Ruby, Rails, and Python... most however aren't the most current version.

That being said I think it's always a good idea to grab the Xcode command line tools. For those users not familiar with creating an Apple Developer account you can just grab Xcode from the App Store to install it. There is a great link at https://railsapps.github.io/xcode-command-line-tools.html that can help those unfamiliar with that process.

William Li
William Li
Courses Plus Student 26,868 Points

thanks Tim for the clarification. This question has been bothering me for quite some time.

For a long time, I assumed that those tools were preinstalled on a Mac as default.

But you see, some students mentioned during forum posts that on their fresh-installed Yosemite, when entering commands such as git, ruby in the Terminal, they got the command not found message.

And I just have no idea why, Xcode and its command line tools are the first things I install on a new OS X; and it's not like I can just reinstall my Mac only to test whether their saying is true.