Closed bencoullie closed 8 years ago
Run npm install gulp-ruby-haml --save
inside project dir
@mentorkadriu is right. You want a line for gulp-ruby-haml in your package.json so that npm knows to install it when you do npm install
. Doing npm install gulp-ruby-haml --save
will 1) install gulp-ruby-haml and 2) add a line to your package.json saying gulp-ruby-haml is required.
Thanks so much guys - it's no longer throwing the missing module error and all's right with the world. I think I must have skipped over that part, sorry.
I have Ruby installed and have run
gem install haml
successfully.My
gulpfile.js
looks like this:However, when I run
gulp
on the project I receive this error:Sorry if this is not a general bug - I'm not sure. If I am missing anything please just nudge me in the right direction. FYI I'm not using rails on this project. It is a static project with haml compiled by gulp-ruby-haml and gulp.