-
-
Save rawsyntax/289868 to your computer and use it in GitHub Desktop.
~$ 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 |
Hello,
I'm getting the same error as ionas and mschueler with 1.9.2, and now I resolve this problem finally.
We need to use system ruby when using livereload. (you can use two consoles: one with ruby-1.9.2 and another use system ruby)
step1. $ use rvm system
step2. run commands above:
~$ 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
step3. back to home dir
step4. $ livereload
step5. open another console and $rvm use ruby-1.9.2
and modify file you want.
RubyCocoa is not 1.9.x compatible.
I got livereload working by using the guard-livereload and rb-fsevent gems.
Hello,
its long ago and I try to remember, was this required for LiveReload? If thats the case the solution I found weeks later was to use OS Xs system RubyCOCOA e.g. somehow tell RVM to use that system GEM instead of a RVM one. But thats all I remember sorry :E