|~$ 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|
This comment has been minimized.
This comment has been minimized.Show comment Hide 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:
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: