robfletcher/gradle-compass

Using a specific version of a gem does not work

Closed this issue · 3 comments

I'm using this plugin to compile bootstrap-sass and everything works as expected unless I try to use a specific version of bootstrap-sass. Then I receive this error:

:installCompass
Successfully installed compass-0.12.3
ERROR:  Could not find a valid gem 'bootstrap-sass:3.1.1.0' (>= 0) in any repository
ERROR:  Possible alternatives: bootstrap-sass, bootstrap-sass-rtl, bootstrap-assets, bootstrap-jasny, bootstrap-sass-keppy

So this build script works and installs a gem "bootstrap-sass-3.1.1.0":

buildscript {
  repositories {
    mavenCentral()
    maven { url 'http://dl.bintray.com/robfletcher/gradle-plugins' }
  }
  dependencies {
    classpath 'org.gradle.plugins:gradle-compass:1.0.9'
  }
} 
...
compass {
 gems = ['compass', 'bootstrap-sass']
}

But if I specify

compass {
 gems = ['compass', 'bootstrap-sass:3.1.1.0']
}

or any other version I receive the aforementioned error message.

You need to use 1.0.10 for this to work.

Oh that was easy! I've thought 1.0.9 to be the latest version because of the version history in the Github Readme. Should have looked into build.gradle ...
Thanks anyway!

Sorry, I forgot to update that. My mistake.

On Mon, Mar 17, 2014 at 6:10 PM, Robin Sander notifications@github.com
wrote:

Oh that was easy! I've thought 1.0.9 to be the latest version because of the version history in the Github Readme. Should have looked into build.gradle ...

Thanks anyway!

Reply to this email directly or view it on GitHub:
#19 (comment)