This took a lot of figuring out, but I've finally managed to get it to work. What's needed is to get Ruby to install alongside your Node.js app, so you can install the appropriate gems. This gist was very helpful and more-or-less describes what I needed to do.
In summary, the process was:
- Create the files
Gemfile.lock in the project directory, with the following contents:
nb. I'm only using Sass, not Compass, but I'm guessing all you'll need to do to get compass is just add
gem "compass" to the Gemfile and, eg.
compass (1.0.3) below sass in the Gemfile.lock.