Benoit Daloze
Benoit Daloze
Until this is solved I can recommend https://github.com/ruby/setup-ruby
I implemented it in `use-ruby-action` (issue: https://github.com/eregon/use-ruby-action/issues/4). It's really trivial. I think longer term we'll want most (all maybe) features of use-ruby-action in this repo: https://github.com/actions/setup-ruby/issues/44
@mo-rubikal Glad you found how to use it. Do you think the docs at https://github.com/ruby/setup-ruby#usage are clear enough about this? If not, please file an issue and I'll try to...
Could we assume/expect `__int__` doesn't have side effects? It seems pretty bad to return the wrong answer for fitsInInt(). E.g. some int / numpy.int32 might give 0 because it says...
> @eregon how does ruby approach this? We don't have a way to override fitsInInt() in Ruby currently, but we have similar things for array and hash predicates such as...
In general I guess `__index__` is already expected to have no observable side effects in regular Python, so then it might just be fine to call it.
I think something like https://2022.ecoop.org/details/truffle-2022/2/Designing-an-intuitive-language-agnostic-integration-of-foreign-objects-in-Ruby in graalpython would help for this issue.
Related: https://github.com/oracle/truffleruby/issues/1335
@hurricup I don't know much about Windows (and this is not really the same kind of issue I solved recently) and I'm not a maintainer of Sprockets, so unless it's...
Having a 64-bit jruby.exe launcher would also be valuable: https://github.com/jruby/jruby/issues/6042#issuecomment-576463011