Skip to main content
Post date:
Wednesday, February 12, 2014

On this tutorial we will learn how to easily install the necessary Ruby packages needed on Ubuntu 14.04 in order to run compass and let Drupal do the magic with SASS.

On a terminal window type:

$sudo apt-get install ruby ruby-dev

once ruby is installed, run:

$sudo gem install compass
$sudo gem install sass

and there you go!

run "compass watch" on the Drupal theme folder you chose for you site and that's all, Compass will start scanning all the *.scsc files and compile all the changes on your styles.

$cd /my-drupal-site/sites/all/themes/my-responsive-theme-with-sass-support/
$compass watch

Enjoy!

Add new comment
The content of this field is kept private and will not be shown publicly.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Related Blogs