Posts Tagged ‘ruby rvm’

Installing nokogiri with rvm on Snow Leopard

In case you’re on Snow Leopard and experiencing weird errors when trying to install nokogiri into rvm have a look at the following. The problem is architecture related and the solution is described at the rvm FAQ. Basically, the following needs to be done:

rvm remove ree
rvm --force gems delete your_gemset_name
echo rvm_archflags=\"-arch x86_64\" > ~/.rvmrc
rvm install ree