Regression: packaging a gem no longer works.
--------------------------------------------
Key: JRUBY-1421
URL: http://jira.codehaus.org/browse/JRUBY-1421
Project: JRuby
Issue Type: Bug
Environment: jruby svn trunk, linux
Reporter: Chris Nelson
Assignee: Thomas E Enebo
Priority: Critical
I was able to package my gem untill very recently, but something added in the
code base now causes this:
rake aborted!
undefined method `flush' for nil:NilClass
/home/ccnelson/workspace/jruby-svn/lib/ruby/site_ruby/1.8/rubygems/package.rb:717:in
`open_from_io'
/home/ccnelson/workspace/jruby-svn/lib/ruby/site_ruby/1.8/rubygems/package.rb:690:in
`add_file'
/home/ccnelson/workspace/jruby-svn/lib/ruby/site_ruby/1.8/rubygems/package.rb:702:in
`open_from_io'
/home/ccnelson/workspace/jruby-svn/lib/ruby/site_ruby/1.8/rubygems/package.rb:690:in
`open'
/home/ccnelson/workspace/jruby-svn/lib/ruby/site_ruby/1.8/rubygems/package.rb:793:in
`open'
/home/ccnelson/workspace/jruby-svn/lib/ruby/site_ruby/1.8/rubygems/builder.rb:67:in
`write_package'
/home/ccnelson/workspace/jruby-svn/lib/ruby/site_ruby/1.8/rubygems/builder.rb:37:in
`build'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/gempackagetask.rb:84:in
`define'
/home/ccnelson/workspace/jruby-debug/Rakefile:60:in `when_writing'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/gempackagetask.rb:83:in
`define'
/home/ccnelson/workspace/jruby-debug/Rakefile:60:in `call'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`execute'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in
`each'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`execute'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in
`invoke'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:369:in
`synchronize'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
`invoke'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:369:in
`invoke_prerequisites'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:361:in
`each'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:4:in
`each'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:368:in
`invoke_prerequisites'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:361:in
`invoke'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:369:in
`synchronize'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
`invoke'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:369:in
`invoke_prerequisites'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:361:in
`each'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:4:in
`each'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:368:in
`invoke_prerequisites'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:361:in
`invoke'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
`synchronize'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
`invoke'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
`top_level'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in
`each'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
`top_level'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in
`standard_exception_handling'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in
`top_level'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in
`run'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7:in
`standard_exception_handling'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in
`run'
/home/ccnelson/workspace/jruby-svn/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7:in
`run'
/home/ccnelson/workspace/jruby-svn/bin/rake:16:in `load'
/home/ccnelson/workspace/jruby-svn/bin/rake:16:in `load'
I'll try to dig into this more to find the exact cause...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email