Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Compass Module can't call gem commands


Go to End


1255 Views

Avatar
Sticks

Community Member, 31 Posts

21 March 2013 at 6:34pm

Hi all,

I have the compass module installed with SS3 on my WAMP local machine. I now receive this error:

[User Error] Compass Error:Ruby is present, but there was a problem accessing the \ current rubygems version - is rubygems available? The "gem" \ command needs to be in the webserver's path.

The gem command works fine in the command line and in Cygwin (works more like a Linux terminal) from the web-root of the site. For some reason though the Compass module has a problem using the gem command.

I've copied the gems folder from C:\Ruby193\lib\ruby to the silverstripe-cache folder of the site and set

define('SS_GEM_PATH', 'silverstripe-cache/gems');
in mysite/_config.php.

Any ideas on what could be going wrong here? Have I copied the right gems folder?