Lido
Lido

Reputation: 309

Compass integration in Intellij Idea 13 via grunt console

I have an issue running compass via grunt-task from my Intellij idea 13.1.4

Environment:

If use the IDE and select test to run all tests via grunt & karma I get a warning saying:

Warning: Running "compass:dist" (compass) task
Warning: Couldn't find the `compass` binary. Make sure it's installed and in your $PATH Use --force to continue.

Aborted due to warnings.

enter image description here

I can call compass normally via shell and all works, only not in Intellij idea. If I enable compass support in Intellij settings I have entered "/home/lido/.rvm/gems/ruby-2.1.2/bin/compass" as executable file. Yet the IDE tells me: "Cannot launch compass executable file"

What am I doing wrong? Any ideas? Thx for your support.

Upvotes: 0

Views: 1014

Answers (1)

geekonaut
geekonaut

Reputation: 5954

My best guess is that IntelliJ doesn't recognize the path that is usually (e.g. in your shell) adjusted by RVM.

Check http://www.jetbrains.com/ruby/webhelp/configuring-ruby-sdk.html and http://www.jetbrains.com/ruby/webhelp/rvm-support.html for some pointers on how to get this set up correctly.

Upvotes: 1

Related Questions