Computing Magazine

Install Compass and Sass on Linux Machine with Ruby

Posted on the 12 March 2014 by Akahgy

Description:

Compass offers a highly simplified way of writing style sheets. Basically users can create sass files, that can share style information, and then compile this using Compass into regular old-fashioned CSS files. Unfortunately Sass requires Gem which is a Ruby package installer library, so how do we install all?

Solution:

First connect to your domain as root, or any recognized sudoer:

>su root

Then install the Ruby library:

>apt-get install libgemplugin-ruby

Then install Sass and Compass:

>sudo gem install sass

>sudo gem install compass

That’s it. You can check the location of the installed packages with which :

>which ruby

>which gem

After this, you can use Sass to create projects and Compass to compile them. More information under Sass Installer .


Back to Featured Articles on Logo Paperblog