Installing Compass in CentOS 6.5 – 7

Compass is an open-source CSS Authoring Framework. But installing compass on CentOS server is not straightforward. This can be simplified by using some commands which are not directly available in the documentation.
To easily set up compass on CentOS machine, follow these steps. These steps are tested for CentOS 6.5 and CentOS 7. 

  1. Install ruby: sudo yum install ruby
  2. Update gem: gem update –system
  3. Install compass: gem install compass. If this command fails to install basic dependencies and some ruby dependencies, then follow next steps:
    1. Install json or json pure: gem install json_pure
    2. Install one ruby dependency for CentOS: sudo yum install ruby-devel
    3. Install CentOS specific compiler and ruby gems: sudo yum -y install gcc rubygems
    4. Again update the gem: gem update –system
    5. Install compass from 3rd step: gem install compass
About CauseCode: We are a technology company specializing in Healthtech related Web and Mobile application development. We collaborate with passionate companies looking to change health and wellness tech for good. If you are a startup, enterprise or generally interested in digital health, we would love to hear from you! Let's connect at
Have you subscribed to our blogs and newsletter? If not, what are you waiting for?  Click Here

Leave a Reply

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


Do you want to get articles like these in your inbox?

Email *

Interested groups *
Technical articles