[Ironruby-core] Cannot load any gems

Jens Sauer lists at ruby-forum.com
Tue Mar 24 17:54:29 EDT 2009


Hello,

I installed IronRuby 0.3.0 from github and ruby 1.8.6 on my windows xp
machine.
Further I installed the gem sinatra using ruby and edited the
ir.exe.config so that the ruby libraries get loaded.
When I start ir and type require 'rubygems' everything works fine.
When I type require 'sinatra# I get the following error:

(eval):3:in `load_specification': private method
`specification_version=' called
 for #<Gem::Specification name=abstract version=1.0.0> (NoMethodError)
        from specification.rb:406:in `initialize'
        from (eval):0
        from :0:in `eval'
        from source_index.rb:89:in `load_specification'
        from source_index.rb:127:in `load_gems_in'
        from :0:in `each'
        from source_index.rb:124:in `load_gems_in'
        from source_index.rb:80:in `from_gems_in'
        from source_index.rb:51:in `from_installed_gems'
        from rubygems.rb:125:in `source_index'
        from custom_require.rb:104:in `init_gemspecs'
        from custom_require.rb:51:in `initialize'
        from rubygems.rb:211:in `searcher'
        from :0:in `synchronize'
        from rubygems.rb:210:in `searcher'
        from custom_require.rb:26:in `require'
        from :0

Thx a lot.

Jens
-- 
Posted via http://www.ruby-forum.com/.


More information about the Ironruby-core mailing list