Jump to:

10994 Posts in 2728 Topics by 1819 members

All other Modules

SilverStripe Forums » All other Modules » Compass module - using alpha/beta

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 557 Views
  • Matty Balaam
    Avatar
    Community Member
    69 Posts

    Compass module - using alpha/beta Link to this post

    I'm trying to use a compass add-on for css3 animations: https://github.com/ericam/compass-animation I get the following error if I try to use it:

    Unable to activate animation-0.1.alpha.0, because compass-0.11.7 conflicts with compass (>= 0.12.alpha.0)

    Is there a way to force the Compass module onto the latest release? I see in Compass.php there is $sass_version which I've tried to set to 'latest' but it then gives me the following error:

    [User Error] Compass Error:/Library/Ruby/Site/1.8/rubygems/requirement.rb:81:in `parse': Illformed requirement [""] (ArgumentError)   from /Library/Ruby/Site/1.8/rubygems/requirement.rb:106:in `initialize'   from /Library/Ruby/Site/1.8/rubygems/requirement.rb:106:in `map!'   from /Library/Ruby/Site/1.8/rubygems/requirement.rb:106:in `initialize'   from /Library/Ruby/Site/1.8/rubygems/requirement.rb:44:in `new'   from /Library/Ruby/Site/1.8/rubygems/requirement.rb:44:in `create'   from /Library/Ruby/Site/1.8/rubygems/dependency.rb:50:in `initialize'   from /Library/Ruby/Site/1.8/rubygems.rb:303:in `new'   from /Library/Ruby/Site/1.8/rubygems.rb:303:in `bin_path'   from -e:6

    Thanks.

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Compass module - using alpha/beta Link to this post

    because compass-0.11.7 conflicts with compass (>= 0.12.alpha.0)

    Looks like you should uninstall 0.11.7 first.

  • Matty Balaam
    Avatar
    Community Member
    69 Posts

    Re: Compass module - using alpha/beta Link to this post

    I'm a bit confused, I was under the impression that the Compass module took care of selecting the latest gems?

    Edit: Took another look and managed to get it woking by changes the code in Compass.php on line 39 to

    'yard' => '', 'maruku' => '', 'haml' => '~> 3.1', 'compass' => '>= 0.12.alpha.0', 'compass-colors' => ''

    I guess there must be a way of overriding this without hacking the code?

  • Matty Balaam
    Avatar
    Community Member
    69 Posts

    Re: Compass module - using alpha/beta Link to this post

    Actually it didn't work, it now won't compile any code. If I delete the CSS files already there they are not remade.

    557 Views
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.