Home » Featured, Headline, Mobile Development, Software Development

How to manually install Compass to use with SASS

18 March 2012 No Comment

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.

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.

*
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