newgem with Ruby 1.9?

2 views
Skip to first unread message

Thomas Preymesser

unread,
Mar 15, 2009, 2:34:43 PM3/15/09
to New Gem Generator
Hello,

are there plans to make the newgem work with ruby 1.9?
I liked this gem very much (with Ruby 1.8), but currently nothing
works (with Ruby 1.9).

This is one of the error messages, i get:

$ sudo rake install_gem --trace
[sudo] password for tp:
(in /home/tp/dragongoserver)
/usr/local/lib/ruby/gems/1.9.1/gems/newgem-1.2.3/lib/hoe-patched.rb:
132: warning: already initialized constant VERSION
/usr/local/lib/ruby/gems/1.9.1/gems/newgem-1.2.3/lib/hoe-patched.rb:
133: warning: already initialized constant GEMURL
/usr/local/lib/ruby/gems/1.9.1/gems/newgem-1.2.3/lib/hoe-patched.rb:
146: warning: already initialized constant RUBY_DEBUG
/usr/local/lib/ruby/gems/1.9.1/gems/newgem-1.2.3/lib/hoe-patched.rb:
154: warning: already initialized constant RUBY_FLAGS
/usr/local/lib/ruby/gems/1.9.1/gems/newgem-1.2.3/lib/hoe-patched.rb:
159: warning: already initialized constant FILTER
/usr/local/lib/ruby/gems/1.9.1/gems/newgem-1.2.3/lib/hoe-patched.rb:
169: warning: already initialized constant DLEXT
rake aborted!
superclass mismatch for class CData
/usr/local/lib/ruby/gems/1.9.1/gems/hpricot-0.6.164/lib/hpricot/tag.rb:
157:in `<module:Hpricot>'
/usr/local/lib/ruby/gems/1.9.1/gems/hpricot-0.6.164/lib/hpricot/tag.rb:
1:in `<top (required)>'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `require'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `block in require'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:521:in `new_constants_in'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `require'
/usr/local/lib/ruby/gems/1.9.1/gems/hpricot-0.6.164/lib/hpricot.rb:
21:in `<top (required)>'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `require'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `block in require'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:521:in `new_constants_in'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `require'
/home/tp/dragongoserver/lib/dragongoserver/dragongoserver.rb:4:in
`<top (required)>'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `require'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `block in require'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:521:in `new_constants_in'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `require'
/home/tp/dragongoserver/lib/dragongoserver.rb:7:in `<top (required)>'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `require'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `block in require'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:521:in `new_constants_in'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `require'
/home/tp/dragongoserver/config/requirements.rb:17:in `<top (required)
>'
/home/tp/dragongoserver/Rakefile:1:in `require'
/home/tp/dragongoserver/Rakefile:1:in `<top (required)>'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.4/lib/rake.rb:2359:in
`load'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.4/lib/rake.rb:2359:in
`raw_load_rakefile'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.4/lib/rake.rb:1993:in
`block in load_rakefile'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.4/lib/rake.rb:2044:in
`standard_exception_handling'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.4/lib/rake.rb:1992:in
`load_rakefile'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.4/lib/rake.rb:1976:in
`block in run'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.4/lib/rake.rb:2044:in
`standard_exception_handling'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.4/lib/rake.rb:1974:in
`run'
/usr/local/bin/rake:31:in `<main>'

-Thomas
Reply all
Reply to author
Forward
0 new messages