Empact/roxml — Issue #41: unable to run any tests
Author: pravi
Created: 2012-01-29 21:10:10+00:00
State: open

/usr/bin/ruby1.9.1 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
Running tests for ruby1.9.1 using debian/ruby-tests.rb...
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
/media/forge/debian/diaspora/ruby-roxml-3.2.1/lib/roxml.rb:4:in `': undefined method `version' for nil:NilClass (NoMethodError)
from /media/forge/debian/diaspora/ruby-roxml-3.2.1/spec/spec_helper.rb:7:in `require_relative'
from /media/forge/debian/diaspora/ruby-roxml-3.2.1/spec/spec_helper.rb:7:in `'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from debian/ruby-tests.rb:7:in `block in

'
from debian/ruby-tests.rb:7:in `each'
from debian/ruby-tests.rb:7:in `

'

and debian/ruby-tests.rb is

Dir['{spec,test}/**/*.rb'].each { |f| require f }

$ ruby1.9.1 -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]

I'm creating a debian package of roxml using gem2deb tool.