sass not recognised using Windows command shell

前端 未结 4 1001
醉梦人生
醉梦人生 2021-01-28 22:14

I\'ve installed ruby and the sass gem on a Win 7 Enterprise box. I\'ve had issues throughout the process, and had to download the gems and install them from local to avoid other

4条回答
  •  孤城傲影
    2021-01-28 23:15

    In order to run commands without specifying full path, you need to have the path to the program in you PATH variable.

    So if your program is located in C:\Programs\rubygems\gem\sass you'll need to add C:\Programs\rubygems\gem\ to PATH.

    The process of adding a folder to PATH for the Windows command line prompt is described here.

    For Windows Powershell, please check Setting Windows PowerShell path variable here on SO.

提交回复
热议问题