Skip to content

Instantly share code, notes, and snippets.

@pietern
Forked from sandro/gist:204016
Created February 15, 2010 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pietern/304759 to your computer and use it in GitHub Desktop.
Save pietern/304759 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