Netbeans - installing SASS

前端 未结 4 679
一向
一向 2021-01-18 00:38

I have had a few attempts at installing SASS on netbeans. I have followed the following tutorial:

http://kgagliardo.com/blog/netbeans-sass-windows-7

I get t

相关标签:
4条回答
  • 2021-01-18 00:59

    You don't have path to ruby.exe

    As simple, reinstall ruby, use ruby installer for windows.

    When you go through the installation wizard, you’ll come to this options screen:

    From what I can tell, the only option that you need to check on that one is the middle option, which helps your command-line instructions recognize where to find (as it says) “Ruby executables”. Otherwise, you’ll get the error message “ruby is not recognized as an internal or external command” when you try to install Sass in the command prompt. Go to Options

    Miscellaneous --> CSS Preprocessors

    check : Generate extra information (debug)

    For more information go to Setting Up Sass on Windows

    0 讨论(0)
  • 2021-01-18 01:09

    Your path environment variable points to the wrong folder

    Your Path to ruby is C:\Ruby193\bin

    Go back and edit your path environment variable to point to C:\Ruby193\bin . At the moment you have C:\Ruby\192\bin

    EDIT

    And Now remove the backslash between Ruby and 193.
    Your Path is set to : C:\Ruby\193\bin :-) !
    your .bat is in Folder : C:\Ruby193\bin

    TIP

    Go to Options

    Miscellaneous --> CSS Preprocessors

    check : Generate extra information (debug)

    0 讨论(0)
  • 2021-01-18 01:16

    You don't have path to ruby.exe which is c:\Ruby\192\bin in you PATH variable.

    In Windows 7:

    1. Right click on My computer and select Properties -> Go to Advanced Tab -> Click on the Environmental Variables button

    2. In the Environmental Variables window highlight PATH variable in System variables section and click Edit

    3. Append ;c:\Ruby\192\bin to the end (the semicolon is intentional)

    4. Restart command prompt

    0 讨论(0)
  • 2021-01-18 01:24

    They are all right in the above message. The problem is that Netbeans is not designed to pick up these changes instantaneously. Once you make the changes above, you have to RESTART Netbeans, so that the changes will be applied. This worked for me. Let me know if it works for you.

    Thanks

    0 讨论(0)
提交回复
热议问题