Forum: IronRuby [Bug Found: IronRuby 1.1.3 Gem install problem]

Posted by "Murat ÜSTÜNTAŞ" <ustuntas@ekatek.com.tr> (Guest)
on 2011-03-14 11:21
(Received via mailing list)
Hello All,

When trying to install whois gem in ironruby 1.1.3, i got errors.
I run these commands;

ir -S gem install whois -r and gem install whois -r

it said to me

C:\Users\Makine Yöneticisi>ir -S gem install whois -r
ERROR:  While executing gem ... (Errno::EACCES)
     C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/gems/1.9.1/gems

C:\Users\Makine Yöneticisi>ir -S gem install whois -r
ERROR:  While executing gem ... (Errno::ENOENT)
     Could not find a part of the path 'C:\Program Files (x86)\IronRuby
1.1\Lib\ruby\gems\1.9.1\cache\whois-1.6.6.gem'.  [I created cache 
directory]

C:\Users\Makine Yöneticisi>ir -S gem install whois -r
ERROR:  While executing gem ... (Errno::EACCES)
     C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/gems/1.9.1/gems  [I
created gems directory]

C:\Users\Makine Yöneticisi>ir -S gem install whois -r
ERROR:  While executing gem ... (Errno::ENOENT)
     Could not find a part of the path 'C:\Program Files (x86)\IronRuby
1.1\Lib\ruby\gems\1.9.1\specifications\whois-1.6.6.gemspec'.  [I created
specifications directory]

C:\Users\Makine Yöneticisi>ir -S gem install whois -r
Successfully installed whois-1.6.6
1 gem installed
ERROR:  While executing gem ... (Errno::EACCES)
     C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/gems/1.9.1/doc  [I
created doc directory]

At the end i have taken the following  ERROR with ASC encoding name..

C:\Users\Makine Yöneticisi>ir -S gem install whois -r
Successfully installed whois-1.6.6
1 gem installed
Installing ri documentation for whois-1.6.6...
Installing RDoc documentation for whois-1.6.6...
ERROR:  While executing gem ... (ArgumentError)
     'ASC' is not a supported encoding name.
Parameter name: name

How can we solve this?

Regards,

Murat USTUNTAS


--
Posted by Tomas Matousek (Guest)
on 2011-03-14 17:50
(Received via mailing list)
You either need to run gem install in an elevated prompt (start cmd.exe 
as admin) or install the gems to a directory which you have access to 
(set GEM_HOME environment variable, see 
http://docs.rubygems.org/read/chapter/3).

Tomas

________________________________________
From: ironruby-core-bounces@rubyforge.org 
[ironruby-core-bounces@rubyforge.org] on behalf of Murat STNTA 
[ustuntas@ekatek.com.tr]
Sent: Monday, March 14, 2011 3:08 AM
To: ironruby-core@rubyforge.org
Subject: [Ironruby-core] [Bug Found: IronRuby 1.1.3 Gem install problem]

Hello All,

When trying to install whois gem in ironruby 1.1.3, i got errors.
I run these commands;

ir -S gem install whois -r and gem install whois -r

it said to me

C:\Users\Makine Yneticisi>ir -S gem install whois -r
ERROR:  While executing gem ... (Errno::EACCES)
     C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/gems/1.9.1/gems

C:\Users\Makine Yneticisi>ir -S gem install whois -r
ERROR:  While executing gem ... (Errno::ENOENT)
     Could not find a part of the path 'C:\Program Files (x86)\IronRuby
1.1\Lib\ruby\gems\1.9.1\cache\whois-1.6.6.gem'.  [I created cache 
directory]

C:\Users\Makine Yneticisi>ir -S gem install whois -r
ERROR:  While executing gem ... (Errno::EACCES)
     C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/gems/1.9.1/gems  [I
created gems directory]

C:\Users\Makine Yneticisi>ir -S gem install whois -r
ERROR:  While executing gem ... (Errno::ENOENT)
     Could not find a part of the path 'C:\Program Files (x86)\IronRuby
1.1\Lib\ruby\gems\1.9.1\specifications\whois-1.6.6.gemspec'.  [I created
specifications directory]

C:\Users\Makine Yneticisi>ir -S gem install whois -r
Successfully installed whois-1.6.6
1 gem installed
ERROR:  While executing gem ... (Errno::EACCES)
     C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/gems/1.9.1/doc  [I
created doc directory]

At the end i have taken the following  ERROR with ASC encoding name..

C:\Users\Makine Yneticisi>ir -S gem install whois -r
Successfully installed whois-1.6.6
1 gem installed
Installing ri documentation for whois-1.6.6...
Installing RDoc documentation for whois-1.6.6...
ERROR:  While executing gem ... (ArgumentError)
     'ASC' is not a supported encoding name.
Parameter name: name

How can we solve this?

Regards,

Murat USTUNTAS


--

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
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.