Comments (4)
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.
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.
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.
Since this seems to be a downstream problem with JRuby/Systemu/uuid closing this ticket.
from resque-status.
Related Issues (20)
- Status tab in new resque web HOT 1
- No more link after statuses?start=40
- Add Ability to Rename Job HOT 1
- HTML in status
- Attach custom behavior to 'at' as callback HOT 2
- Kill with message
- Three of the 'killall job' tests fail
- Encoding::InvalidByteSequenceError when handling exception in safe_perform
- Problem working with resque-retry HOT 4
- Resque::Plugins::Status::Hash.statuses fails large number of statuses HOT 4
- Workers cannot start jobs anymore HOT 1
- Does resque-status work with namespace in connection?
- Active Job + Resque Status HOT 2
- Allow resque versions >= 2.0.0 HOT 1
- Is the project still being maintained? HOT 1
- Wrong Number of Arguments HOT 4
- Kill link isn't actually killing my job... any suggestions? HOT 1
- Bug on status pages when live polling enabled. HOT 2
- Undefined method error_field on EngineYard.
- Separate job log
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 resque-status.