CMD under: ruby-v success
Installation using SASS
1: Removing the http://rubygems.org source
Gem Sources--remove https://rubygems.org/
2: Add Taobao source
Gem Sources-a https://ruby.taobao.org/
3: See if the first two steps were successful
Gem Sources-l
4: Install Sass
Gem Install Sass
Sass-v
5:gem Upgrade
Gem Update
6: Install the sass of the developed version
Gem Install sass-version=3.3
7: List all the locally installed Ruby packages
Gem List
8: Delete the specified version of SASS
Gem Uninstall Sass--version=3.3.0
Compile the. scss file into a CSS file under 9:cmd
Sass Main.scss Main.css
Installation using Compass
1: Installation
Gem Install Compass
2:compass-v
3: Create a project with Compass
Compass Create Learn-compass-init
4: Compiling the current project
Compass compile [address]
5: Listen to the current project
Compass Watch [Address]
This article is from the "Flail Blog" blog, please be sure to keep this source http://jhomephper.blog.51cto.com/8558055/1644007
Installation of the Ruby environment under Windows, and how to use the Sass,compass