SciRuby / nmatrix

Dense and sparse linear algebra library for Ruby via SciRuby
Other
469 stars 133 forks source link

rdoc and json are incompatible #553

Open isuruf opened 8 years ago

isuruf commented 8 years ago

rdoc needs json ~> 1.4 (>=1.4, < 2.0) and nmatrix requires >= 2.0.1.

translunar commented 8 years ago

I believe I just put in ~> 2.0.1 because that's the one I got working at the time. Do you want to see what happens in your PR if you change it to 1.4?

isuruf commented 8 years ago

I just did, and it fails to install json 1.8.3. json needs to be updated to 2.0.1 to build with the latest ruby version. So, I guess this is an issue with rdoc

isuruf commented 8 years ago

Problem is that with ruby 2.4.0-dev, this is checked strictly. Earlier when ruby 2.0.1 was installed it was okay even if rdoc needed < 2.0. Now it is enforced and therefore fails.

translunar commented 8 years ago

Is this the problem?

https://github.com/flori/json/issues/303

It looks like we can just drop the json requirement altogether, yes?

isuruf commented 8 years ago

Yes, it is. Dropping the json requirement won't help, since rdoc has json as a requirement.

isuruf commented 8 years ago

Dropping the requirement will help ruby versions < 2.4

translunar commented 8 years ago

Looks like we need RDoc 5.

https://github.com/rdoc/rdoc/pull/412

translunar commented 6 years ago

Possibly related to #606?