concordusapps / grunt-haml

Process HAML templates to precompiled JavaScript or rendered HTML.
https://npmjs.org/package/grunt-haml
MIT License
41 stars 28 forks source link

Option to run haml with bundle exec #31

Open sibsfinx opened 10 years ago

sibsfinx commented 10 years ago

Is there any option to compile haml with bundle exec haml not just haml? In order not to require global haml installation and use one from Gemfile instead.

sman591 commented 7 years ago

Doesn't look like there's an explicit option for it, but you can manually set the rubyHamlCommand to use bundle:

options: {
  language: 'ruby',
  rubyHamlCommand: 'bundle exec haml -t ugly'
}