Posts about photography, contract bridge, astrophotography, astronomy, Java development, internet systems.

Ruby gem problems around libv8, therubyracer, mac vs. linux, native extensions

I haven’t done a techie blog post for a while, and this “solved problem” keeps raising its head at work, so here goes.

Here’s the situation:

A ruby web app
Develop on Mac OS X
Deploy on Linux
Using bundler to control gem versions
Using therubyracer and libv8

You build your app on your Mac, install your bundle of gems using bundler, and […]