Chapter 2
■
IntroduCtIon to SaSS
14
After installation completes, you can verify it by running the command in Listing
2-2
.
Listing 2-2. Command for Verifying Sass Installation
sass -v
This should give you the output shown in Figure
2-1
.
Figure 2-1. Output of the sass-v command
Upon completing this installation, you are ready to use Sass.
Checking Other Versions of Sass
You can check for other available versions, beside latest version, by executing the command shown in
Listing
2-3
.
Listing 2-3. Checking for Other Versions of Sass
gem list sass –a –r
This command asks Ruby to list all the gems that have “sass” in their name. The -r command attribute
tells Ruby to check it remotely, where all Sass versions are available. The -a command attribute is for listing
all available versions.
Chapter 2
■
IntroduCtIon to SaSS
15
The output of this gem list command is shown in Listing
2-4
.
Do'stlaringiz bilan baham: