user2469520
user2469520

Reputation:

Installing Xcode on Mac OSX (Yosemite)

I posted this question on Apple's forum, but it wasn't allowed for some reason. I've already seen "Installing gem or updating RubyGems fails with permissions error", which is where I first learned about rbenv.

I'm confused because I'm new to Ruby, rbenv, and Apple's command line developer tools/XCode and don't really understand what's going on.

After typing a command into Terminal, I got the following message:

The "xcrun" command requires the command line developer tools. Would you like to install the tools now?

The options are "Install" and "Get Xcode."

I'm not sure which one to choose, because I don't understand all the pros and cons. I need Ruby because I'm working with Bootstrap, and I apparently need XCode (or command line tools) to work with Ruby.

My instincts say go with Xcode, as it's presumably specially designed for this kind of thing. Would that be the best choice? I just want to make sure I don't start off on the wrong foot and mess up something in my system, as others have done.

Upvotes: 0

Views: 404

Answers (1)

MarsAtomic
MarsAtomic

Reputation: 10673

Take a look at "Xcode Command Line Tools" on Rails and XCode Command Line Tools.

XCode is a full blown development environment for Apple native-development. You don't need all of that overhead for Ruby or Rails, so go with the Command Line Tools to get just what you need.

Your situation might be analogous to doing an installation of Eclipse IDE in order to run some Java software that really only needs a Java Runtime Engine installation to run.

Upvotes: 1

Related Questions