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.

All other Modules

Discuss all other Modules here.

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

Compass Module can't call gem commands


Reply

341 Views

Avatar
Sticks

21 March 2013 at 6:34pm Community Member, 29 Posts

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?