How to manually install Compass to use with SASS

Compass is a framework which extends SASS. Compass provides lots of CSS3 mixins, typography, layouts, utilities and helps in generating sprites.

Compass requires SASS, so you may need to check this post first regarding installing SASS.

Compass has 2 main dependencies, chunky_png and FSSM.
Chunky_png is a Ruby library for reading and writing png images while FSSM is used to monitor any changes on the filesystem.
FSSM is the main library that detects changes made to SASS files and updates those files accordingly.

How to manually install Compass
– Download the above libraries to the Ruby root folder, chunky_png and FSSM. Make sure to also download Compass gem.
cd C:\Ruby***
– type gem install chunky_png.gem
– type gem install fssm.gem
– type gem install compass.gem
The message prompt will show that the gems has been installed.

To make sure Compass is installed, type compass version on the command prompt.
If compass is successfully installed, the version number will be shown.

Incase of any errors, follow the above steps again after rebooting your machine.

Add a Comment

Your email address will not be published. Required fields are marked *

To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image