Feb 26 2010
∞
XRefresh on OSX Snow Leopard (using RVM)
Installing XRefresh (http://xrefresh.binaryage.com/#osx) was not too too straightforward with RVM… here is how I did it.
Before we get started…
- You haveĀ RVM don’t you? `sudo gem install rvm`
- I like to use RVM’s readline and iconv: `rvm install readline; rvm install iconv`
At the time of this writing, rvm seems to set ARCHFLAGS during the readline or iconv install, which seems to mess with the ruby install (the next step). Simple solution though… open a new shell for the rest of the steps.Ignore this… I had this problem only because I had arch_flags=x86_64 in ~/.rvmrc, a relic of my 10.5 system.- Ruby Cocoa needs —enabled-shared, which supposedly slows down Ruby a lot (REE by 20%). Since I primarily use REE+Passenger for my Rails development I just decided to use a different version of Ruby for XRefresh… here we go.