# Cannot load any gems

**URL:** <https://www.ruby-forum.com/t/cannot-load-any-gems/163791>\
**Category:** IronRuby\
**Created:** [March 24, 2009, 10:54pm UTC](https://www.ruby-forum.com/t/cannot-load-any-gems/163791 "2009-03-24T22:54:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paligan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/858c86/32.png) [@paligan](https://www.ruby-forum.com/u/paligan)\
**Post date:** [March 24, 2009, 10:54pm UTC](https://www.ruby-forum.com/t/cannot-load-any-gems/163791/1 "2009-03-24T22:54:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![paligan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/858c86/32.png) [@paligan](https://www.ruby-forum.com/u/paligan)\
**Post date:** [March 25, 2009, 6:48pm UTC](https://www.ruby-forum.com/t/cannot-load-any-gems/163791/2 "2009-03-25T18:48:18Z")

</div>

It worked for me with the latest sources. “gem i sinatra” installed  
version sinatra-0.9.1.1. The issue was probably fixed independently.  
Thanks for reporting anyway.

c:\github\ironruby\Merlin\Main\Languages\Ruby\Scripts\bin\>rbd  
IronRuby 0.3.0.0 on .NET 2.0.50727.3053  
Copyright (c) Microsoft Corporation. All rights reserved.

> > > require “rubygems”  
> > > =\> true  
> > > require “sinatra”  
> > > =\> true

If you want to build the latest version yourself and try again,  
[http://wiki.github.com/ironruby/ironruby](http://wiki.github.com/ironruby/ironruby) has the info you need.

Thanks,  
Shri
