Forked from thibaudgg/install rubycocoa over rvm's 1.8.7
Last active
December 14, 2015 23:19
-
-
Save kcrawford/5165124 to your computer and use it in GitHub Desktop.
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 | |
curl -L -o ~/Downloads/RubyCocoa-1.0.5.tar.gz http://sourceforge.net/projects/rubycocoa/files/RubyCocoa/1.0.5/RubyCocoa-1.0.5.tar.gz/download | |
cd ~/Downloads && tar xzf RubyCocoa-1.0.5.tar.gz && rm RubyCocoa-1.0.5.tar.gz && cd RubyCocoa-1.0.5 | |
rvm use 1.8.7 | |
ruby install.rb config --target-archs="x86_64" | |
ruby install.rb setup | |
sudo ruby install.rb install | |
rvm 1.8.7 do ruby -e 'require "osx/cocoa";OSX::NSLog "Cocoa should work now!"' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment