cognitect / transit-ruby

Apache License 2.0
113 stars 24 forks source link

Latest version does not have a matching JRuby version #16

Closed plexus closed 9 years ago

plexus commented 10 years ago

It seems the CRuby and JRuby versions are released with separate version numbering schemes. When looking for a gem to install, bundler will look for the latest version number, and if no matching -java version is found will try to install the CRuby version, which will fail due to the dependency on Oj and Msgpack.

An application author who is aware of this can lock to a working version, but for someone building gems that in turn depend on transit-ruby, this is problematic. I don't know which platform my users will be using, and so can't lock the version for them. This creates the impression that things are simply incompatible with JRuby, even though that's not strictly true.

The solution would be to always release a CRuby and a -java version at the same time with matching version numbers.

dchelimsky commented 10 years ago

I just released transit-ruby-0.8.567-java, which aligns with the most recent CRuby release. Leaving this open until we automate releasing CRuby and JRuby gems together.

plexus commented 10 years ago

Cool, thanks!