Gem install error (sass compass)

前端 未结 3 1543
天命终不由人
天命终不由人 2020-12-08 02:59

When I want to install sass and compass, I get this message. Can someone help me?

Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporat         


        
相关标签:
3条回答
  • 2020-12-08 03:41

    Here is what worked for me:

    modified line 70 of registry.rb (in your ruby installation folder).

    Change this line:

    LOCALE = Encoding.find(Encoding.locale_charmap)
    

    to this one:

    LOCALE = Encoding::UTF_8
    
    0 讨论(0)
  • 2020-12-08 03:50

    to resolve this problem you have to install an old version of ruby and delete the latest versions on your pc i think there is an error on the latest version,look for this version and download it 1.8.7

    0 讨论(0)
  • 2020-12-08 03:55

    Open up a command prompt and type:

    chcp 1252
    

    Then run the installer again:

    gem install sass

    Unfortunately there's a known issue in some versions of Ruby regarding this. See here

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