Forked from rawsyntax/install rubycocoa over rvm's 1.8.7
Created
February 4, 2010 09:04
-
-
Save thibaudgg/294465 to your computer and use it in GitHub Desktop.
install rubycocoa over rvm's 1.8.7
This file contains hidden or 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='-arch i386 -arch x86_64' | |
~$ rvm install 1.8.7 --debug --reconfigure -C --enable-shared=yes | |
~$ wget http://sourceforge.net/projects/rubycocoa/files/RubyCocoa/1.0.0/RubyCocoa-1.0.0.tar.gz/download | |
~$ tar xzf RubyCocoa-1.0.0.tar.gz && rm RubyCocoa-1.0.0.tar.gz && cd RubyCocoa-1.0.0 | |
~/RubyCocoa-1.0.0$ ruby install.rb config --build-universal=yes | |
~/RubyCocoa-1.0.0$ ruby install.rb setup | |
~/RubyCocoa-1.0.0$ sudo ruby install.rb install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note in v 1.0.1 they deprecated 'build-universal' and then removed it in 1.0.2. The equivalent command, per the release notes, is:
ruby install.rb config --target-archs="i386 x86_64 ppc"
However, when I run that on Lion, I get some errors like "ignoring file rubycocoa.o, file was built for unsupported file format which is not the architecture being linked (i386)"
So, the config that worked for me was just:
ruby install.rb config --target-archs="x86_64"