Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing gems on node heroku projects

I'm writing a node app on heroku, and the app requires a gem, compass to be installed, for node-compass.

However, I can't seem to work out how you install gems in a node application on heroku. I have a Gemfile, which looks like so.

source "https://rubygems.org"
gem 'compass'

Have you managed to do this successfully before?

like image 577
Nate Higgins Avatar asked Nov 03 '22 02:11

Nate Higgins


1 Answers

According to an official reply from Heroku for this question:

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

like image 87
Nick McCurdy Avatar answered Nov 09 '22 11:11

Nick McCurdy