Compass: Failed to run compass

everytime i open my project i get this message
what it mean and how to get rid of it.
tia

0
10 comments

I'm getting the same issue and it locks up all windows running Rubymine for about 20 seconds every time I open up a project.

I've noticed the issue does not happen for my projects which do not use compass.

Event Log:
10:52:54 AM Compass: Failed to run compass
10:53:24 AM Compass: Failed to run compass

I'm using Rubymine 6.3.3    - 135.1104
On Mac OSX 10.9.4

0

> what it mean

It means that your project has 'compass' dependecy and RubyMine is trying to run your compass instance in order to retrieve information about all compass import paths. But it's failed for some reason.

> how to get rid of it.

Disable compass support in 'Settings | Compass'. Or figure out why compass cannot be run, attach your logs (Help | Show Log) and I'll help you with it.

0

from the log:

2014-09-09 16:24:33,278 [  27268]   INFO -                        compass - Failed to run compass imports
Result code: com.intellij.execution.process.ProcessOutput@583129a6
out:


err:
/Users/nikeita/.rbenv/versions/1.9.3-p392/bin/ruby: No such file or directory --
/Users/nikeita/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/compass-0.12.2/bin/compass (LoadError)

then i checked the compass gem and effectively were non installed there ( it's ok because i don't have any dependency to it)
So disabling compass support is the workaround but RubyMine should be aware of it and not load that "plugin" support if not used
in the project Gemfile or its dependecy tree.

Fabio

0

> RubyMine should be aware of it and not load that "plugin" support if not used the project Gemfile or its dependecy tree.

Indeed, it shouldn't run compass. I'll check why this could happen. Are you sure that you never had 'compass' dependency in this project?

0

i'm not sure, but in any case shouldn't be too hard to reflect current state of the project and avoid loading unnecessary feature.
Fabio

0

Hi Alex,

Thanks for the workaround. In case it helps you guys find a fix, I've attached the relevant part from my rubymine help log which includes the error stacktrace.

Kind Regards,

Lucas



Attachment(s):
rubymine_crash_log.txt.zip
0

Do you use compass in your project?

Could you run following command in terminal in your project's directory and show me output?

/Users/2potatocakes/.rvm/rubies/ruby-2.1.1/bin/ruby /Users/2potatocakes/.rvm/gems/ruby-2.1.1@across/gems/compass-1.0.1/bin/compass imports

0

Sure, here's my output after running the command you sent:

-I /Users/2potatocakes/.rvm/gems/ruby-2.1.1@across/gems/compass-core-1.0.1/stylesheets

0

So it works but RM cannot wait until compass finishes its work. You can try to increase execution timeout: Ctrl+Shift+A | type 'Registry' | increase 'command.line.execution.timeout' value


Screenshot 2014-09-10 16.58.31.png

0

I would like to say that I was having the same problem with a rails project and because I saw some strange references, I've quit from Rubymine, removed .idea from my project and the problem went away.

I was using rbenv (also with that problem) and when I switched to rvm I realised that were log references to rbenv and tried to delete .idea

Thanks,

Paulo

0

Please sign in to leave a comment.