Using Sass with Aptana Studio 3
Setting Compass with Aptana Studio 3.
Compass is an open-source CSS Authoring Framework.
- Download Ruby form http://rubyinstaller.org/downloads/ and install it.
- 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
- Type
You have installed Ruby and Compass application and form now you can use it to create Sass files in your project:
- In Aptana Studio “Project explorer” check 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.