Comments (9)
I had a working version and backed up my ~/.gradle/.jruby and let this run again I see that the old working version had the gem sass-3.3.0.rc.2
installed where it is now failing is on sass-3.3.0.rc.3
from gradle-compass.
When "breakpoint" is commented out, error disappears. So, the problem seems to be specific to installing "breakpoint" gem under jruby.
from gradle-compass.
I've just seen this with a non-Gradle Sass project (using Grunt). Looks to me like the problem is in the version of Compass that Breakpoint depends on being too rigid. Then when the plugin installs both compass and breakpoint gems it gets the latest of each which causes a version conflict.
I guess I need to read up on resolving conflicts with Ruby gems :-/
from gradle-compass.
It looks like one of the gems is doing some kind of post-installation task that requires Java. The JRubyTask class overrides the PATH environment variable, though. I can fix that but then it complains that jrake is not found. I have no idea what needs that or why it thinks it should already be installed.
from gradle-compass.
Rob, thank you for checking this.
I tried fixing PATH as well, with the same result as you - jrake not found.
Next logical step is to add Rake gem:
gems = ["rake", "compass", "breakpoint"]
then Breakpoint post-installation gets past "jrake not found".
Now it hits the next error:
Installing listen >= 1.1.0, < 2.5
"java -jar /home/ahi/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.8/c72460fd292ac290953373c7d5a14a2d98b6dfa1/jruby-complete-1.7.8.jar" -rubygems /home/ahi/.gradle/.jruby/gems/rake-10.1.1/bin/rake RUBYARCHDIR=/home/ahi/.gradle/.jruby/gems/sass-3.3.0.rc.3/lib RUBYLIBDIR=/home/ahi/.gradle/.jruby/gems/sass-3.3.0.rc.3/lib
/bin/sh: 1: java -jar /home/ahi/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.8/c72460fd292ac290953373c7d5a14a2d98b6dfa1/jruby-complete-1.7.8.jar: not found
I guess, this has something to do with quote symbols around "java -jar ...". For example, when you copy the first line "java -jar ..." to the bash prompt and try to run it, it gives a message "No such file or directory".
Probably, Breakpoint forms invalid command-line. I'll check whether there's a difference with this between Linux and Windows.
from gradle-compass.
yes, I'm getting to exactly the same point. I managed to get past the jrake error by just upgrading to the latest JRuby – I didn't have to specify the rake gem explicitly.
By the way, I'm successfully recreating this on OSX.
from gradle-compass.
That's good news. Do I get it right, you install jruby separately? I mean it would be great, if things "just work" with gradle and maven repos, without manually installed software.
from gradle-compass.
No I just upgraded the version of JRuby that the plugin looks for.
On 14 February 2014 at 11:07:36, Andrey Hihlovskiy ([email protected]) wrote:
That's good news. Do I get it right, you install jruby separately?
I mean it would be great, if things "just work" with gradle and
maven repos, without manually installed software.
Reply to this email directly or view it on GitHub:
#17 (comment)
from gradle-compass.
Is this still happening with v2.0.1 of the plugin?
from gradle-compass.
Related Issues (20)
- force option is not working properly
- How to specify cssDir and sassDir on a per-task basis?
- Set a fix version of rubygems:compass
- Deprecation warning on Ruby 1.9.3? HOT 6
- Multiple executions - Illegal Null Value
- JRuby setup needed? any docs or sample project available?
- Possibility to configure compass using config.rb HOT 3
- bintray POM is missing license information
- UP-TO-DATE check not working properly on Linux
- Install Compass fails with rubygems ffi version > 1.9.10
- Can't run plugin on windows 10 HOT 1
- DEPRECATION WARNING:
- update jruby dependency HOT 1
- GroovyRuntimeException
- compassWatchStart not working HOT 1
- README shows old com.github.robfletcher:compass-gradle-plugin version
- Plugin is fails using Gradle 4.5 HOT 3
- can't apply plugin using Gradle 4.8, 4.9 (or 4.10) HOT 2
- importPath
- http://rubygems-proxy.torquebox.org/ proxy down alternative HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-compass.