Jump to:

10993 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » Compass Module can't call gem commands

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 334 Views
  • Sticks
    Community Member
    29 Posts

    Compass Module can't call gem commands Link to this post

    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?

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.