# Help: gem error

**URL:** <https://www.ruby-forum.com/t/help-gem-error/204271>\
**Category:** IronRuby\
**Created:** [March 8, 2011, 11:36pm UTC](https://www.ruby-forum.com/t/help-gem-error/204271 "2011-03-08T23:36:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [March 8, 2011, 11:36pm UTC](https://www.ruby-forum.com/t/help-gem-error/204271/1 "2011-03-08T23:36:32Z")

</div>

Sorry for the noob level problem - but I’m trying to run igem.bat and  
I’m getting the following:

C:/Program Files (x86)/IronRuby 1.1/Lib/ironruby/thread.rb:16:in  
`load_assembly': Specified type IronRuby.StandardLibrar y.Threading.ThreadingLibraryInitializer is not a subclass of IronRuby.Builtins.LibraryInitializer (LoadError) from C:/Program Files (x86)/IronRuby 1.1/Lib/ironruby/thread.rb:16 from C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/1.9.1/rubygems/custom_require.rb:29:in`require’  
from C:/Program Files (x86)/IronRuby  
1.1/Lib/ruby/1.9.1/rubygems/custom\_require.rb:29:in `require' from C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/1.9.1/rubygems.rb:16 from C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/1.9.1/rubygems/custom_require.rb:29:in`require’  
from C:/Program Files (x86)/IronRuby  
1.1/Lib/ruby/1.9.1/rubygems/custom\_require.rb:29:in `require’  
from C:/Program Files (x86)/IronRuby 1.1/bin/gem:9

I’ve got the 1.1.2 build, which I removed and reinstalled just in case.  
It works on my second computer. This machine is:  
Win7 Ultimate x64  
Lenovo W510  
16 Gig

I’ll gladly supply any other needed info

Thanks in advance  
-e

IronRuby noob - but curious and ready to learn

---

<div class="post-metadata">

**Author:** ![Eric\_Vincent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/f17d59/32.png) [@Eric\_Vincent](https://www.ruby-forum.com/u/Eric_Vincent)\
**Post date:** [March 10, 2011, 4:10pm UTC](https://www.ruby-forum.com/t/help-gem-error/204271/2 "2011-03-10T16:10:40Z")

</div>

What is the command you’re trying to execute?

Shay.

---

<div class="post-metadata">

**Author:** ![Eric\_Vincent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/f17d59/32.png) [@Eric\_Vincent](https://www.ruby-forum.com/u/Eric_Vincent)\
**Post date:** [March 10, 2011, 4:59pm UTC](https://www.ruby-forum.com/t/help-gem-error/204271/3 "2011-03-10T16:59:38Z")

</div>

This happens when I run igem.bat from the …/IronRuby1.1/bin directory,  
which is the same as running “ir gem” or “ir64 gem” - all get the same  
exception.

Thanks for the reply. Also thanks for taking the time to write  
Unleashed - great work!

-e

* * *

Eric F. Vincent  
t:@efvincent[http://twitter.com/efvincent](http://twitter.com/efvincent)  
w:blog.efvincent.com[http://blog.efvincent.com/](http://blog.efvincent.com/)

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Shay F.  
Sent: Thursday, March 10, 2011 9:32 AM  
To: removed\_email\_address@domain.invalid  
Subject: Re: [Ironruby-core] help: gem error

What is the command you’re trying to execute?

Shay.

On Tue, Mar 8, 2011 at 11:18 PM, Eric Vincent  
\<removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)\> wrote:  
Sorry for the noob level problem - but I’m trying to run igem.bat and  
I’m getting the following:

C:/Program Files (x86)/IronRuby 1.1/Lib/ironruby/thread.rb:16:in  
`load_assembly': Specified type IronRuby.StandardLibrar y.Threading.ThreadingLibraryInitializer is not a subclass of IronRuby.Builtins.LibraryInitializer (LoadError) from C:/Program Files (x86)/IronRuby 1.1/Lib/ironruby/thread.rb:16 from C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/1.9.1/rubygems/custom_require.rb:29:in `require’  
from C:/Program Files (x86)/IronRuby  
1.1/Lib/ruby/1.9.1/rubygems/custom\_require.rb:29:in `require' from C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/1.9.1/rubygems.rb:16 from C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/1.9.1/rubygems/custom_require.rb:29:in `require’  
from C:/Program Files (x86)/IronRuby  
1.1/Lib/ruby/1.9.1/rubygems/custom\_require.rb:29:in `require’  
from C:/Program Files (x86)/IronRuby 1.1/bin/gem:9

I’ve got the 1.1.2 build, which I removed and reinstalled just in case.  
It works on my second computer. This machine is:  
Win7 Ultimate x64  
Lenovo W510  
16 Gig

I’ll gladly supply any other needed info

Thanks in advance  
-e

IronRuby noob - but curious and ready to learn

---

<div class="post-metadata">

**Author:** ![Eric\_Vincent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/f17d59/32.png) [@Eric\_Vincent](https://www.ruby-forum.com/u/Eric_Vincent)\
**Post date:** [March 10, 2011, 5:03pm UTC](https://www.ruby-forum.com/t/help-gem-error/204271/4 "2011-03-10T17:03:23Z")

</div>

Thanks 🙂

Try running “ir -S gem”. Does it work?

Shay.

---

<div class="post-metadata">

**Author:** ![Eric\_Vincent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/f17d59/32.png) [@Eric\_Vincent](https://www.ruby-forum.com/u/Eric_Vincent)\
**Post date:** [March 17, 2011, 9:13am UTC](https://www.ruby-forum.com/t/help-gem-error/204271/5 "2011-03-17T09:13:44Z")

</div>

I don’t really have an idea. Try to add more info -

- Which IronRuby version?
- Have you installed it using the installer or are you building and  
running  
the code directly?
- Is it the first time you’ve tried using rubygems with IronRuby?

Maybe try to install the new version 1.1.3 and see if it fixes the  
problem (  
[http://ironruby.codeplex.com/releases/view/60511](http://ironruby.codeplex.com/releases/view/60511))

Shay.

---

<div class="post-metadata">

**Author:** ![Eric\_Vincent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/f17d59/32.png) [@Eric\_Vincent](https://www.ruby-forum.com/u/Eric_Vincent)\
**Post date:** [March 10, 2011, 7:06pm UTC](https://www.ruby-forum.com/t/help-gem-error/204271/6 "2011-03-10T19:06:25Z")

</div>

Same exception with “ir -S gem”. I’ve also tried it with full privs, and  
I added “…Lib\ruby\1.9.1\rubygems” to the path and and still no go. If  
you have an idea about what’s happening or how I might try to debug the  
problem, let me know.

Thanks,  
-e

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Shay F.  
Sent: Thursday, March 10, 2011 11:03 AM  
To: removed\_email\_address@domain.invalid  
Subject: Re: [Ironruby-core] help: gem error

Thanks 🙂

Try running “ir -S gem”. Does it work?

Shay.

On Thu, Mar 10, 2011 at 5:56 PM, Eric Vincent  
\<removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)\> wrote:  
This happens when I run igem.bat from the …/IronRuby1.1/bin directory,  
which is the same as running “ir gem” or “ir64 gem” - all get the same  
exception.

Thanks for the reply. Also thanks for taking the time to write  
Unleashed - great work!

-e

* * *

Eric F. Vincent  
t:@efvincent[http://twitter.com/efvincent](http://twitter.com/efvincent)  
w:blog.efvincent.com[http://blog.efvincent.com/](http://blog.efvincent.com/)

From:  
removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]  
On Behalf Of Shay F.  
Sent: Thursday, March 10, 2011 9:32 AM  
To: removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: Re: [Ironruby-core] help: gem error

What is the command you’re trying to execute?

Shay.

On Tue, Mar 8, 2011 at 11:18 PM, Eric Vincent  
\<removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)\> wrote:  
Sorry for the noob level problem - but I’m trying to run igem.bat and  
I’m getting the following:

C:/Program Files (x86)/IronRuby 1.1/Lib/ironruby/thread.rb:16:in  
`load_assembly': Specified type IronRuby.StandardLibrar y.Threading.ThreadingLibraryInitializer is not a subclass of IronRuby.Builtins.LibraryInitializer (LoadError) from C:/Program Files (x86)/IronRuby 1.1/Lib/ironruby/thread.rb:16 from C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/1.9.1/rubygems/custom_require.rb:29:in `require’  
from C:/Program Files (x86)/IronRuby  
1.1/Lib/ruby/1.9.1/rubygems/custom\_require.rb:29:in `require' from C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/1.9.1/rubygems.rb:16 from C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/1.9.1/rubygems/custom_require.rb:29:in `require’  
from C:/Program Files (x86)/IronRuby  
1.1/Lib/ruby/1.9.1/rubygems/custom\_require.rb:29:in `require’  
from C:/Program Files (x86)/IronRuby 1.1/bin/gem:9

I’ve got the 1.1.2 build, which I removed and reinstalled just in case.  
It works on my second computer. This machine is:  
Win7 Ultimate x64  
Lenovo W510  
16 Gig

I’ll gladly supply any other needed info

Thanks in advance  
-e

IronRuby noob - but curious and ready to learn

* * *

Ironruby-core mailing list  
removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
[http://rubyforge.org/mailman/listinfo/ironruby-core](http://rubyforge.org/mailman/listinfo/ironruby-core)
