On Fri, Oct 30, 2015 at 11:44:28AM +0100, Cédric Boutillier wrote: > On Thu, Oct 29, 2015 at 08:06:19PM +0530, Pirate Praveen wrote: > > >> ruby-redcarpet differ by minor version. Since its ruby 2.2 tests are > > >> failing I need help updating it. > > > > > > Did you resolve the rudy-redcarpet issue? > > > > > > Nopes, upstream closed the issue saying its debian specific. > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797101 > > I think a solution would be to export RUBY_TEST_BIN variable in > gem2deb/test_runner.rb also in the case the tests are run with rake > (for the moment, it is done only for ruby-tests.rb case). > Antonio, what do you think? > > With this, we could patch test/redcarpet_bin_test.rb to change the > definition of run_bin function to prefix bin/redcarpet with the name of > the ruby interpreter used to run the test.
The current Ruby interpreter is already available by querying RbConfig::CONFIG['ruby_install_name']. And if we use that insted of RUBY_TEST_BIN which _is_ Debian-specific, the patch is actually something that upstream can take. I am uploading a fix for this very bug right now. -- Antonio Terceiro <terce...@debian.org>
signature.asc
Description: PGP signature