Install a gem to node project on Heroku

天大地大妈咪最大 提交于 2019-12-09 19:05:01

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!