Install compass and sass on linux machine with Ruby


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?


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 .


About admin

Just another php developer trying to give something back to the community.
This entry was posted in Linux, Tools and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s