Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save makevoid/670393 to your computer and use it in GitHub Desktop.
Save makevoid/670393 to your computer and use it in GitHub Desktop.
install rubycocoa over rvm's 1.8.7
# v 1.0.1
~$ 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.1/RubyCocoa-1.0.1.tar.gz/download
~$ tar xzf RubyCocoa-1.0.1.tar.gz && rm RubyCocoa-1.0.1.tar.gz && cd RubyCocoa-1.0.1
~/RubyCocoa-1.0.1$ ruby install.rb config --build-universal=yes
~/RubyCocoa-1.0.1$ ruby install.rb setup
~/RubyCocoa-1.0.1$ sudo ruby install.rb install
# v 1.0.0 - use this if you want to use xrefresh / livereload gems
~$ 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.1/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
@lenart
Copy link

lenart commented Nov 28, 2010

I get error when passing --build-universal to ruby install.rb.

$ ruby install.rb config --build-universal=yes

config: unknown option --build-universal=yes
try 'ruby install.rb --help' for usage

Any ideas?

Using ruby ruby-1.8.7-p299 [ x86_64 ] with rvm 1.0.21 on Mac OSX 10.6.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment