sass not recognised using Windows command shell

前端 未结 4 1006
醉梦人生
醉梦人生 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 22:51

    If you using Windows 10 v1607 (latest update as March 2017), you need to follow following steps:

    1. Right-click on start menu & select System
    2. Click on Advanced System Settings (left hand column)
    3. Click on Environment variables button
    4. In top section, select Path (or PATH), then click on Edit button
    5. Inside opened window, click on New button
    6. In selected input area, type (for ex.) C:\Ruby22-x64\bin\ (its must be path to ruby's bin folder)
    7. Click OK, twice
    8. Re-open Command-Prompt, now sass is ready to watch and compile your sass files.

提交回复
热议问题