Using Sass with Aptana Studio 3

Setting Compass with Aptana Studio 3.

Compass is an open-source CSS Authoring Framework.

  1. Download Ruby form http://rubyinstaller.org/downloads/ and install it.
  2. Open up Aptana studio and go to Windows -> Show view -> Terminal
    • Type
      -> $ gem install sass
    • After installing sass, install “Compass Aplication” that watches and compiles Sass files for you.
      Type
      -> $ gem install compass

You have installed Ruby and Compass application and form now you can use it to create Sass files in your project:

  • In Aptana StudioProject explorercheck project in which you want to create sass files and in terminal type
    -> $ compass create
  • Next in Terminal type
    -> $ compass watch.

Form now every change in your sass file will be saved in css file.