Error: SASS installation for windows

前端 未结 11 1339
说谎
说谎 2020-12-04 17:20

am trying to install sass after installing ruby, but iam getting following error, please help me to fix this

    maradhak@WW730VW7X1688 /c/softwares
    $ ge         


        
11条回答
  •  误落风尘
    2020-12-04 18:20

    You don't need to disable SSH or downgrade your ruby version, you can simply install the SASS gem manually. Here's how to do it:

    1. On windows, first install the Ruby installer for windows.
    2. Download the latest version of the gem from here: https://rubygems.org/gems/sass Click the latest version, and then on the right side of the screen (in Links section) click the "Download" link to download the original gem file (sass-*.*.*.gem)
    3. Now paste the downloaded gem file to the directory that ruby is installed on: C:\Ruby22-x64\bin\sass-*.*.*.gem
    4. In Command Prompt run the following commands:
      cd C:Ruby22-x64/bin
      gem install sass-*.*.*.gem1

    NOTE: You may also need to call the local flag while installing the gem: gem install --local C:Ruby22-x64/bin/sass-*.*.*.gem

提交回复
热议问题