Giter VIP home page Giter VIP logo

Comments (4)

cwgem avatar cwgem commented on July 26, 2024

I'm not sure how familiar the resque-status dev is with JRuby so I got this in front of some JRuby eyes. They recommended trying a more recent version. It looks like you're using rvm which has the latest version, JRuby 1.6.5 available for installation. I primarily recommend this because 1.6.5 has many bug fixes in it.

from resque-status.

rdingwell avatar rdingwell commented on July 26, 2024

My initial guess at this would be a contention between Rake and JRuby import statements. I would not be surprised if the code runs fine outside of rake and blows up like this while trying to run the tests. I don't see any import statements in the resque-status codebase so I imagine that it is in one of it's dependencies.

from resque-status.

rdingwell avatar rdingwell commented on July 26, 2024

Ok, so i did a bit of digging and I think I figured this out. resque-status has a dependency on uuid. uuid has a dep on macaddr, which has a dep on systemu. systemu contains a jruby specific block that uses the jruby import statement. The jruby import clashes with the rake import. I think the jruby community advocates moving to the java_import statement instead to deal with issues like this but the import is still left in for backward compatibility.

Anyway. I made the mod to a fork of systemu in my github account and started using that for a project that I have that uses resque-status and I can now run tests under jruby without the typical cant convert Class to String explosion going on. I have a pull req into the owner of systemu so hopefully it will make it in there sometime in the future.

from resque-status.

quirkey avatar quirkey commented on July 26, 2024

Since this seems to be a downstream problem with JRuby/Systemu/uuid closing this ticket.

from resque-status.

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.