Test failed
pataiji opened this issue · comments
pataiji commented
Caused by power-assert gem using %i
literal that isn't supported by ruby 1.9.
https://github.com/k-tsj/power_assert/blob/master/lib/power_assert/parser.rb#L60
INFO : gem_package[test-unit] installed will change from 'false' to 'true'
DEBUG : Executing `gem install -v 3.2.0 test-unit`...
DEBUG : stdout | Fetching: power_assert-1.0.2.gemFetching: power_assert-1.0.2.gem ( 79%)Fetching: power_assert-1.0.2.gem ( 88%)Fetching: power_assert-1.0.2.gem (100%)Fetching: power_assert-1.0.2.gem (100%)
DEBUG : stdout | Fetching: test-unit-3.2.0.gemFetching: test-unit-3.2.0.gem ( 4%)Fetching: test-unit-3.2.0.gem ( 13%)Fetching: test-unit-3.2.0.gem ( 17%)Fetching: test-unit-3.2.0.gem ( 20%)Fetching: test-unit-3.2.0.gem ( 25%)Fetching: test-unit-3.2.0.gem ( 29%)Fetching: test-unit-3.2.0.gem ( 34%)Fetching: test-unit-3.2.0.gem ( 41%)Fetching: test-unit-3.2.0.gem ( 44%)Fetching: test-unit-3.2.0.gem ( 51%)Fetching: test-unit-3.2.0.gem ( 57%)Fetching: test-unit-3.2.0.gem ( 65%)Fetching: test-unit-3.2.0.gem ( 72%)Fetching: test-unit-3.2.0.gem ( 73%)Fetching: test-unit-3.2.0.gem ( 81%)Fetching: test-unit-3.2.0.gem ( 89%)Fetching: test-unit-3.2.0.gem ( 95%)Fetching: test-unit-3.2.0.gem ( 98%)Fetching: test-unit-3.2.0.gem (100%)Fetching: test-unit-3.2.0.gem (100%)
DEBUG : stdout | Successfully installed power_assert-1.0.2
DEBUG : stdout | Successfully installed test-unit-3.2.0
DEBUG : stdout | 2 gems installed
DEBUG : stdout | Installing ri documentation for power_assert-1.0.2...
DEBUG : stdout |
DEBUG : stdout | RDoc::Parser::Ruby failure around line 60 of
DEBUG : stdout | lib/power_assert/parser.rb
DEBUG : stdout |
DEBUG : stdout | Before reporting this, could you check that the file you're documenting
DEBUG : stdout | has proper syntax:
DEBUG : stdout |
DEBUG : stdout | /usr/bin/ruby1.9.1 -c lib/power_assert/parser.rb
DEBUG : stdout |
DEBUG : stdout | RDoc is not a full Ruby parser and will fail when fed invalid ruby programs.
DEBUG : stdout |
DEBUG : stdout | The internal error was:
DEBUG : stdout |
DEBUG : stdout | (RDoc::Error) unknown type of %string "i"
DEBUG : stdout |
DEBUG : stdout | ERROR: While generating documentation for power_assert-1.0.2
DEBUG : stdout | ... MESSAGE: unknown type of %string "i"
DEBUG : stdout | ... RDOC args: --ri --op /var/lib/gems/1.9.1/doc/power_assert-1.0.2/ri --main README.rdoc lib README.rdoc --title power_assert-1.0.2 Documentation --quiet
ERROR : Command `gem install -v 3.2.0 test-unit` failed. (exit status: 1)
ERROR : gem_package[test-unit] Failed.
Go Sueyoshi commented
This is fixed at #248