dokku sass error on digital ocean

December 18, 2015 1.3k views
DigitalOcean Dokku Node.js Nginx

I have a standard DO dokku image that I am using to host a Sails.js app. Everything was working perfectly until I decided to change from less to scss. I have added scss and can run the app locally, but when I push to the server (and look in the logs) I get the following error:

Aborted due to warnings.
Running "sass:dev" (sass) task
You need to have Ruby and Sass installed and in your PATH for this task to work.
More info:

I also have ' "grunt-contrib-sass": "^0.9.2",' in my package.json file.

Not sure where to turn here as dokku is running the same commands on the server as I am on my laptop?

Be the first one to answer this question.