bigcartel/moonshine_nodejs — pull request #2 by technicalpickles (2012-02-12 16:38:58+00:00)
Title: Fix init for Ruby 1.9 compatability.

It looks like there's some subtle differences between 1.8 and 1.9. Particularly, the require is throwing this exception:

** [out :: server] Uncaught exception: TypeError: can't convert Pathname into String

The quickest fix I've found is to stop building a string to require, and instead adding to $LOAD_PATH does the trick nicely.