简体   繁体   English

我需要安装xcode来安装自制软件来安装RUBY来安装COMPASS来使用SUSY吗?

[英]Do i need to install xcode to install homebrew to install RUBY to install COMPASS to use SUSY?

Why do I need to install so much just to use Susy or about any sass framework? 为什么只需要使用Susy或任何sass框架就需要安装这么多的东西?

I got really interested in using sass and sass frameworks but I can't figure out a right way to start using it. 我对使用sass和sass框架真的很感兴趣,但是我找不到一个正确的方法来开始使用它。 I don't get why I need to have so much installed to use just one thing. 我不明白为什么我需要安装这么多东西才能只使用一件事。 Also, I have never installed something through some sort of terminal so this freaks my out immensely, why can't I just download a zip file. 另外,我从来没有通过某种终端安装过任何东西,所以这让我非常吃惊,为什么我不能只下载一个zip文件。

If know a useful tutorial on where to start, that would also help. 如果知道有关从何开始的有用教程,那也将有所帮助。

thanks in advance 提前致谢

Your Mac already comes with a version of Ruby (with Sierra even a recent enough version). 您的Mac已经带有Ruby版本(Sierra甚至是足够新的版本)。 Unless you are actively develping on different versions of Ruby, you don't need to install a custom Ruby (or even a ruby version manager). 除非您积极开发不同版本的Ruby,否则不需要安装自定义Ruby(甚至是ruby版本管理器)。

You probably still need a compiler. 您可能仍然需要编译器。 Here, the xcode command line tools are sufficient. 在这里,xcode命令行工具就足够了。 You can install them with xcode-select --install . 您可以使用xcode-select --install来安装它们。

Generally, all these tools are comand-line oriented. 通常,所有这些工具都是面向命令行的。 It will help you tremendously if you try to get at least a high-level understanding of how the command line works and how you can use it with your tools. 如果您至少对命令行的工作方式以及如何将其与工具配合使用,至少将有极大的帮助,则将为您提供极大的帮助。 This will also help you when it comes to deploy your solution to a live-server, often running Linux with just the command line. 当将解决方案部署到实时服务器(通常仅通过命令行运行Linux)时,这也将为您提供帮助。

Compass is not required for Susy. Susy不需要Compass。 In fact, Compass is no longer maintained, so I highly recommend against using it. 实际上,指南针已不再维护,因此我强烈建议您不要使用它。 Susy only requires Sass, but you can use any flavor of Sass - Libsass, Ruby Sass, Node Sass, Gulp Sass, etc. If it compiles Sass, it will work with Susy. Susy仅需要Sass,但您可以使用任何类型的Sass-Libsass,Ruby Sass,Node Sass,Gulp Sass等。如果编译Sass,它将与Susy一起使用。 There are instructions for various setups in the Susy docs . Susy文档中有各种设​​置的说明。

Susy also doesn't require command-line knowledge itself, though Sass is often compiled that way. Susy本身也不需要命令行知识,尽管Sass通常是用这种方式编译的。 There are tools that provide GUI wrappers for Sass, if you aren't comfortable in the command line. 如果您不熟悉命令行,则可以使用一些工具为Sass提供GUI包装。 I think CodeKit ships with Susy included. 我认为CodeKit附带Susy。

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

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