rspec-given icon indicating copy to clipboard operation
rspec-given copied to clipboard

Provide Rubinius compatible version

Open deadprogram opened this issue 11 years ago • 3 comments

The same issue mentioned in the README that plagues JRuby also impacts Rubinius: a lack of ripper support. It would be great to be able to run rspec-given under these 2 platforms.

deadprogram avatar Aug 19 '13 04:08 deadprogram

I would love to provide a Rubinius compatible version. But that requires either Rubinius to support Ripper, or a Sorcerer like library that uses a Rubinius based parser/AST.

BTW, this issue is not preventing rspec/given from running under Rubinius. You just can't use the natural assertion feature of Given on that platform. But you can still use Given/When/Then with regular RSpec should/expect assertions.

jimweirich avatar Aug 19 '13 16:08 jimweirich

This is what brought up the issue for me: https://travis-ci.org/hybridgroup/argus/jobs/10346342

deadprogram avatar Aug 19 '13 17:08 deadprogram

FYI: JRuby 1.7.5 will be compatible with natural assertions. Now we just need to get Rubinius up to speed.

jimweirich avatar Sep 02 '13 20:09 jimweirich