Forum: IronRuby help: gem error

Posted by Eric Vincent (Guest)
on 2011-03-08 23:36
(Received via mailing list)
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
Posted by Shay Friedman (shayfriedman)
on 2011-03-10 16:10
(Received via mailing list)
What is the command you're trying to execute?

Shay.
Posted by Eric Vincent (Guest)
on 2011-03-10 16:59
(Received via mailing list)
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>
w:blog.efvincent.com<http://blog.efvincent.com/>



From: ironruby-core-bounces@rubyforge.org 
[mailto:ironruby-core-bounces@rubyforge.org] On Behalf Of Shay Friedman
Sent: Thursday, March 10, 2011 9:32 AM
To: ironruby-core@rubyforge.org
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 
<eric@efvincent.com<mailto:eric@efvincent.com>> 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
Posted by Shay Friedman (shayfriedman)
on 2011-03-10 17:03
(Received via mailing list)
Thanks :)

Try running "ir -S gem". Does it work?


Shay.
Posted by Eric Vincent (Guest)
on 2011-03-10 19:06
(Received via mailing list)
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: ironruby-core-bounces@rubyforge.org 
[mailto:ironruby-core-bounces@rubyforge.org] On Behalf Of Shay Friedman
Sent: Thursday, March 10, 2011 11:03 AM
To: ironruby-core@rubyforge.org
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 
<eric@efvincent.com<mailto:eric@efvincent.com>> 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>
w:blog.efvincent.com<http://blog.efvincent.com/>



From: 
ironruby-core-bounces@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org> 
[mailto:ironruby-core-bounces@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org>] 
On Behalf Of Shay Friedman
Sent: Thursday, March 10, 2011 9:32 AM
To: ironruby-core@rubyforge.org<mailto:ironruby-core@rubyforge.org>
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 
<eric@efvincent.com<mailto:eric@efvincent.com>> 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
Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core
Posted by Shay Friedman (shayfriedman)
on 2011-03-17 09:13
(Received via mailing list)
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.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.