New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q: Does ruby-build require xcode? Will it work without it? #223

Closed
rebelwarrior opened this Issue Oct 18, 2012 · 4 comments

Comments

Projects
None yet
4 participants
@rebelwarrior

rebelwarrior commented Oct 18, 2012

I have xcode installed but I know a few people in my Ruby group have SSD and don't want xcode on their machines. I suggested rbenv & ruby-build. Was I wrong? Does ruby-build need x-code to work?

@bustervill

This comment has been minimized.

Show comment
Hide comment
@bustervill

bustervill Oct 18, 2012

No, ruby-build does not require xcode. It will work perfectly fine without it.
I use ruby-build and didn't even knew what xcode is :)

bustervill commented Oct 18, 2012

No, ruby-build does not require xcode. It will work perfectly fine without it.
I use ruby-build and didn't even knew what xcode is :)

@rebelwarrior

This comment has been minimized.

Show comment
Hide comment
@rebelwarrior

rebelwarrior Oct 25, 2012

I have heard that it complaints it can't find 'make' on the system. Can someone else confirm that it's not required?
If you don't know what xcode is, you might already have it installed (or you're in Linux).

rebelwarrior commented Oct 25, 2012

I have heard that it complaints it can't find 'make' on the system. Can someone else confirm that it's not required?
If you don't know what xcode is, you might already have it installed (or you're in Linux).

@chrismear

This comment has been minimized.

Show comment
Hide comment
@chrismear

chrismear Nov 2, 2012

ruby-build needs to have a compiler toolchain present in order for it to build the Rubies. Mac OS X doesn't come with a compiler installed by default, so you need to install one.

There are two official ways to do this: install Xcode, or install 'Command Line Tools for Xcode'. The latter is a much smaller install (around 140 MB), available from https://developer.apple.com/downloads/index.action and which provides just the software necessary for compiling at the command line.

chrismear commented Nov 2, 2012

ruby-build needs to have a compiler toolchain present in order for it to build the Rubies. Mac OS X doesn't come with a compiler installed by default, so you need to install one.

There are two official ways to do this: install Xcode, or install 'Command Line Tools for Xcode'. The latter is a much smaller install (around 140 MB), available from https://developer.apple.com/downloads/index.action and which provides just the software necessary for compiling at the command line.

@rebelwarrior

This comment has been minimized.

Show comment
Hide comment
@rebelwarrior

rebelwarrior Nov 2, 2012

Thaank you Chris. The documentation is ambivalent on that point and you clarified it for me.
I'd been long advising that rbenv didn't need Xcode and thus was a lighter alternative than rvm,
Good to know that's not true.
I'll update my recommendations accordingly.

rebelwarrior commented Nov 2, 2012

Thaank you Chris. The documentation is ambivalent on that point and you clarified it for me.
I'd been long advising that rbenv didn't need Xcode and thus was a lighter alternative than rvm,
Good to know that's not true.
I'll update my recommendations accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment