问题
I would like to install a gem to my node project, which is hosted on Heroku. More specifically I would like to use Sass with Compass, and Compass is only available as a gem. There are projects that wrap this gem for node, but all of them require the gem.
Is there a way to do this?
There's already this topic (Installing gems on node heroku projects), but it hasn't received any replies.
回答1:
I got a reply from Heroku.
"You would need to use the heroku multi buildpack in order to have both the Ruby buildpack and the Node buildpack: https://github.com/ddollar/heroku-buildpack-multi"
来源:https://stackoverflow.com/questions/18143977/install-a-gem-to-node-project-on-heroku