Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Rubinius behaves differently than Ruby wrt. use of to_ary/to_s #3456
I pushed to Git my Ruby exercises I wrote a while back when learning Ruby.
git clone git://github.com/wkoszek/ruby_edu.git
I went and enabled Travis-CI builds for both Ruby 2.1 and Rubinius.
Ruby passes, while Rubinius is failing. Looks like to_s function is called where to_ary is expected, assuming Ruby 2.1 is a reference result.
Upon cloning, do "make". It will run Ruby on each .rb file and generate .o file, which is a result. Then the .o file is compared against corresponding .t file (expected result).
This build is using 2.5.7 https://travis-ci.org/wkoszek/ruby_edu/jobs/69929231#L104 so it does not look related to the version problem in #3457.