Skip to content

Instantly share code, notes, and snippets.

@h-lame
Forked from sandro/gist:204016
Created February 10, 2010 09:35
Show Gist options
  • Save h-lame/300181 to your computer and use it in GitHub Desktop.
Save h-lame/300181 to your computer and use it in GitHub Desktop.
# 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
~$ 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