RubyMine 2017.1 Help

Compass

File | Settings | Languages and Frameworks | Compass for Windows and Linux
RubyMine | Preferences | Languages and Frameworks | Compass for macOS
Ctrl+Alt+S

/help/img/idea/2017.1/settings.png

Use this page to integrate the Compass framework with RubyMine and thus enable compilation of Sass and SCSS files from Compass-specific projects into CSS. For details, see Using File Watchers.

Prerequisites

Before you start working with Compass, make sure that the Sass support plugin is enabled. The plugin is bundled with RubyMine and is activated by default. If the plugin is not activated, enable it on the Plugins page of the Settings / Preferences Dialog as described in Enabling and Disabling Plugins.

Make sure that Ruby is installed on your computer.

For more details, see Working with Sass and SCSS in Compass Projects.


ItemDescription
Enable Compass support Select this check box to activate Compass support including the possibility to compile Sass and SCSS files from your Compass project into CSS.
Compass executable fileIn this field, specify the location of the compass executable file under the Ruby installation. Type the path manually, for example, C:\Ruby200-x64\bin\compass, or choose it from the drop-down list, or click the Browse button /help/img/idea/2017.1/browseButton.png and choose the location of the compass file in the dialog box that opens.
Config pathIn this field, specify the location of the project Compass configuration file config.rb. Type the path manually, for example, C:\my_projects\\compass_project\config.rb, or choose it from the drop-down list, or click the Browse button /help/img/idea/2017.1/browseButton.png and choose the location of the compass file int he dialog box that opens.

The Compass configuration file config.rb is generated during project set-up through compass create or compass init commands.

See Also

Last modified: 18 July 2017