-
Notifications
You must be signed in to change notification settings - Fork 0
Ruby Universal Binary Installation
wagenet edited this page May 10, 2011
·
1 revision
To install a universal binary of Ruby, necessary to build Mac OS X packages do the following:
http://rvm.beginrescueend.com/
rvm install ruby-1.9.2-head-n_ub -C --with-arch=x86_64,i386
install_name_tool -id @executable_path/../lib/libruby.dylib \
/Users/<USERNAME>/.rvm/rubies/ruby-1.9.2-head-n_ub/lib/libruby.dylib
Without this command, packages will be built with absolute path references and will not work on other computers.