robfletcher/gradle-compass

Upgrade sass version

Closed this issue · 5 comments

How can we upgrade sass from 3.2.1 to 3.3.X ?

Issue can be closed, I added the following gems

gems = ['compass', 'sass:3.3.10', 'compass:1.0.0.alpha.19']

I have the inverse problem, I need to stick with sass 3.3.14, but the gradle task always uses 3.4.0 (now that it is installed on our CI server). How can I specify that 3.3.14 musst be used?

This is a real problem for us, while we can specify gem versions to be installed, we cannot specify which gem version to use when running compass. Only the newest version available will be used, which may be newer than the one we specified, which is a major pain on our CI Servers.

So right now we solve by deleting the .jruby folder before running compassInstall, out of desperation.

There's some work being done right now on a generic JRuby runtime plugin for Gradle which I'm planning to leverage for the next version of this plugin. Part of that would be the ability to define gem dependencies using the standard Gradle dependencies DSL.

The repo for that plugin is rtyler/jruby-gradle-plugin