nicosantangelo / sublime-gulp

Run Gulp tasks and use snippets from Sublime Text
https://sublime-gulp.nicosantangelo.com/
MIT License
155 stars 18 forks source link

Using with .nvmrc #22

Closed gilesbutler closed 9 years ago

gilesbutler commented 9 years ago

Hey,

Since I started using NVM to manage my versions of Node, SublimeGulp has stopped working.

I get the following error Error:libsassbindings not found. Try reinstallingnode-sass? The system version of Node doesn't work with my projects packages and sublime is trying to use that version maybe?

Is there anyway around this?

Thanks

nicosantangelo commented 9 years ago

Never used NVM myself but have you tried overriding your PATH inside SublimeGulp ? (using exec_args )

gilesbutler commented 9 years ago

Thanks Nico, that worked :+1:

I used nvm which 0.12 - 0.12 is the version number in my .nvmrc file. That gave me the path to that exact version of node and then I put that as my exec_args setting.

nicosantangelo commented 9 years ago

Glad I could help!

Thanks for letting me know.