Giter VIP home page Giter VIP logo

Comments (9)

beckje01 avatar beckje01 commented on August 28, 2024

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.

akhikhl avatar akhikhl commented on August 28, 2024

When "breakpoint" is commented out, error disappears. So, the problem seems to be specific to installing "breakpoint" gem under jruby.

from gradle-compass.

robfletcher avatar robfletcher commented on August 28, 2024

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.

robfletcher avatar robfletcher commented on August 28, 2024

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.

akhikhl avatar akhikhl commented on August 28, 2024

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.

robfletcher avatar robfletcher commented on August 28, 2024

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.

akhikhl avatar akhikhl commented on August 28, 2024

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.

robfletcher avatar robfletcher commented on August 28, 2024

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.

robfletcher avatar robfletcher commented on August 28, 2024

Is this still happening with v2.0.1 of the plugin?

from gradle-compass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.