Package: packaging-tutorial >From #695534:
> Slide 59 > -------- > > While doing practical session 4, I encountered difficulties with > debian/ruby-tests.rb > It's not clear to me how this file should be prepared. > I thought that somethink like > > require 'rbconfig' > ruby = File.join(RbConfig::CONFIG['bindir'], > RbConfig::CONFIG['ruby_install_name']) > exec("#{ruby} -Ilib -Itest -rrubygems test/test_all.rb") > > could work, but it failed miserably. > I see that the tutorial (in Slide 76) suggests: > > $: << 'test' << 'lib' << '.' > require 'test/test_all.rb' > > I cannot understand why this should work, while my attempt fails. > The tutorial does not explain much. > Maybe the dh_ruby(1) man page should include a more detailed > explanation: it just says that the file is executed and must > finish with 0 exit status. > It does not explain much else... Lucas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org