Created
October 7, 2009 13:12
-
-
Save sandro/204016 to your computer and use it in GitHub Desktop.
Compile Ruby Cocoa on Snow Leopard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ARCHFLAGS may or may not matter - I set mine up this way just in case. | |
~$ echo $ARCHFLAGS | |
-arch i386 -arch x86_64 | |
# Be sure to compile ruby with --enable-shared | |
~$ rvm install 1.9.1 --debug --reconfigure -C --enable-shared=yes | |
# Test to ensure that --enable-shared worked | |
~$ ruby -e "require 'rbconfig'; puts Config::CONFIG['ENABLE_SHARED']" | |
yes | |
# download rubycocoa 1.0.0 and install it | |
~$ ruby install.rb config [--build-universal=no] | |
~$ ruby install.rb setup | |
~$ sudo ruby install.rb install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment