Help: gem error

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:inrequire’
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:inrequire’
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

What is the command you’re trying to execute?

Shay.

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:@efvincenthttp://twitter.com/efvincent
w:blog.efvincent.comhttp://blog.efvincent.com/

From: [email protected]
[mailto:[email protected]] On Behalf Of Shay F.
Sent: Thursday, March 10, 2011 9:32 AM
To: [email protected]
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
<[email protected]mailto:[email protected]> 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

Thanks :slight_smile:

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

Shay.

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)

Shay.

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: [email protected]
[mailto:[email protected]] On Behalf Of Shay F.
Sent: Thursday, March 10, 2011 11:03 AM
To: [email protected]
Subject: Re: [Ironruby-core] help: gem error

Thanks :slight_smile:

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

Shay.

On Thu, Mar 10, 2011 at 5:56 PM, Eric Vincent
<[email protected]mailto:[email protected]> 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:@efvincenthttp://twitter.com/efvincent
w:blog.efvincent.comhttp://blog.efvincent.com/

From:
[email protected]mailto:[email protected]
[mailto:[email protected]mailto:[email protected]]
On Behalf Of Shay F.
Sent: Thursday, March 10, 2011 9:32 AM
To: [email protected]mailto:[email protected]
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
<[email protected]mailto:[email protected]> 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
[email protected]mailto:[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core