On Sun, Oct 09, 2011 at 03:18:40PM +0200, Martin Ueding wrote: > Okay, I generated the debian/patches/series file and use quilt. The > crazy thing is that now the test-pwd patch does not correct it any more, > I now again get
> /usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby
> /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> ./test/fixtures/simple.rb:2:in `require': no such file to load --
> ../bin/mustache (LoadError)
> from ./test/fixtures/simple.rb:2
> from ./test/helper.rb:6:in `require'
> from ./test/helper.rb:6
> from ./test/helper.rb:5:in `each'
> from ./test/helper.rb:5
> from ./test/autoloading_test.rb:2:in `require'
> from ./test/autoloading_test.rb:2
> from debian/ruby-tests.rb:1:in `require'
> from debian/ruby-tests.rb:1
> from debian/ruby-tests.rb:1:in `each'
> from debian/ruby-tests.rb:1
> ERROR: Test "ruby1.8" failed. Exiting.
> Does that make any sense at all?
> I pushed my currents state into the "tests" branch.
You do not need "test-pwd" patch. Here the package builds correctly
without it. What is required is the _library_ mustache(.rb) (in lib/), and not
the script in bin. Moreover, it is not found, because the tests are run
from the base directory, and not test/, therefore the relative path is
wrong.
Best,
Cédric
signature.asc
Description: Digital signature
_______________________________________________ Pkg-ruby-extras-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers
