简体   繁体   English

Ruby Sass弃用-如何查看我的版本是否被弃用

[英]Ruby Sass Deprecation - How Do I see If my Version is Being Deprecated

I've seen on a few blogs and Twitter recently that Ruby Sass is being deprecated. 我最近在一些博客和Twitter上看到Ruby Sass被弃用了。 When you look on the Sass docs, the installation method they use is the one I've always used on the command line ie gem install sass -- is this being made redundant? 当您查看Sass文档时,他们使用的安装方法是我在命令行上一直使用的安装方法,即gem install sass这是否多余? And if it is how do i install the new Dart Sass I've seen mentioned? 如果是这样,该如何安装我看到的新的Dart Sass?

When I do sass --version it shows sass 3.5.5 (Bleeding Edge) which doesn't sound like something that is about to be deprecated? 当我执行sass --version它显示了sass 3.5.5 (Bleeding Edge) ,听起来不像即将被弃用的东西吗?

V confused. V困惑。

You've got the Ruby version. 您已经有了Ruby版本。 Dart version should be numbered (at least at time of writing): Dart版本应编号(至少在撰写本文时):

1.3.x
e.g.,
1.3.2

How to install the dart version depends on which operating system you have and the link already provided gives these instructions. 如何安装dart版本取决于您所使用的操作系统,并且已经提供的链接提供了这些说明。 I use MacOS Sierra and ran in to a couple of problems. 我使用MacOS Sierra并遇到了两个问题。 For anyone using Mac the things listed below may be helpful: 对于使用Mac的任何人,以下所列内容可能会有所帮助:

  1. Before installation change permissions on /usr/local: 在安装之前,请更改/ usr / local上的权限:
    • sudo chown -R $USER /usr/local 须藤chown -R $ USER / usr / local

      NOTE: don't forget to change permissions back when done: 注意:完成后,请不要忘记将权限更改回:
    • sudo chown root:wheel /usr/local 须藤chown root:wheel / usr / local
  2. Makes sure homebrew is healthy and updated before installing anything new: 在安装任何新东西之前,请确保自制软件是健康的并已更新:
    • brew update 酿造更新
    • brew cleanup 冲泡清理
    • brew doctor 酿造医生

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM