Sass Installation Tutorial: Ruby installation Steps and Sass installation steps

Source: Internet
Author: User
Tags add command line git clone

Article Introduction: because SASS relies on the ruby environment, make sure Ruby is installed before installing SASS. The pilot website downloads a ruby.

Ruby Installation

Because SASS relies on the ruby environment, make sure Ruby is installed before installing SASS. Download a ruby from the pilot website

When installing, check the Add Ruby executables to your path option to add environment variables, otherwise you will be prompted to not find the Ruby environment when you use the build software

Sass Installation

If you like to slack off, or if your company has more network restrictions, please look at the last paragraph directly.

After installing Ruby, in the Start menu, locate the ruby that we just installed, open the start Command Prompt with Ruby

And then enter directly into the command line

Gem Install Sass

Press ENTER to confirm, wait a period of time will prompt you sass installs successfully.

If you want to install a beta version of, you can enter at the command line

Gem Install sass--pre

You can also install from sass git repository, git's command behavior

git clone git://github.com/nex3/sass.git cd sass Rake Install

If you try to fail with the above method, it means either your network wall or your network signal is bad. You can try a local installation, but it's a bit complicated. There's a big secret here, that's koala. This compiler tool has built-in sass, so if you have koala installed, you don't need to install sass, so be aware that Ruby still has to be installed. See compilation tools for Koala.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.