How to make gulp-sass task working on Windows?

Step-by-step guide

  1. Go to:
  2. Click download and load Ruby 1.9.3.(
  3. By default it will install on your c:\… drive (don’t change any default location or whatsoever and please make sure that you don’t have any space in the path.)
  4. Set your PATH variable that includes your ruby installation location. Now you should be able to run gem evn in your command prompt ( you probably better run command prompt under administrator)


  5. From the command prompt run gem install sass


     If you find an error that complains about network drive not found or something like that. Then probably your home path is not set to your local drive. You need to set the HOME path so that it connect with your local drive. To check the value, run command SET HOME Now, if you find it is not correctly, or pointing to some network drive then set this as SET HOME = %UserProfile% 
    You can read more about this error at



  6. Now you need to install bundler run gem install bundler 
    If you find this error on gem installation: 
    ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
    SocketError: getaddrinfo: No such host is known. (
    Then probably you need to look at your proxy setting. If you don't want to enforce any proxy then run this command, which will empty any proxy settings: gem install sass -p 
    If you want gem to use any specific proxy then run this: gem install sass -p
After following this steps, you should be able to run Gulp task for SaSS from windows machine.