# \[Bug Found: IronRuby 1.1.3 Gem install problem\]

**URL:** <https://www.ruby-forum.com/t/bug-found-ironruby-1-1-3-gem-install-problem/204491>\
**Category:** IronRuby\
**Created:** [March 14, 2011, 11:21am UTC](https://www.ruby-forum.com/t/bug-found-ironruby-1-1-3-gem-install-problem/204491 "2011-03-14T11:21:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [March 14, 2011, 11:21am UTC](https://www.ruby-forum.com/t/bug-found-ironruby-1-1-3-gem-install-problem/204491/1 "2011-03-14T11:21:35Z")

</div>

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

–

---

<div class="post-metadata">

**Author:** ![SSMurat\_SSSTSSNTAS\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7ea924/32.png) [@SSMurat\_SSSTSSNTAS\_S](https://www.ruby-forum.com/u/SSMurat_SSSTSSNTAS_S)\
**Post date:** [August 8, 2013, 1:08pm UTC](https://www.ruby-forum.com/t/bug-found-ironruby-1-1-3-gem-install-problem/204491/2 "2013-08-08T13:08:30Z")

</div>

While installing $ gem install debugger -v ‘1.5.0’  
I got struck on:-

WARNING: RubyGems 1.2+ index not found for:

RubyGems will revert to legacy indexes degrading performance.  
Updating metadata for 1 gems from [http://rubygems.org/](http://rubygems.org/)  
.  
complete  
ERROR: While executing gem … (Errno::EACCES)  
Access to the path ‘c:\Program Files\IronRuby  
1.1\Lib\ruby\gems\1.9.1\source  
\_cache’ is denied.

My Gem env is:

$ gem env  
RubyGems Environment:

- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [i386-mswin32]
- INSTALLATION DIRECTORY: c:/Program Files/IronRuby  
1.1/Lib/ruby/gems/1.9.1
- RUBY EXECUTABLE: “c:/Program Files/IronRuby 1.1/bin/ir.exe”
- EXECUTABLE DIRECTORY: c:/Program Files/IronRuby 1.1/bin
- RUBYGEMS PLATFORMS:
  - ruby
  - universal-dotnet-4.0

- GEM PATHS:
  - c:/Program Files/IronRuby 1.1/Lib/ruby/gems/1.9.1
  - c:/Users/swapnil/.gem/ironruby/1.9.1

- GEM CONFIGURATION:
  - :update\_sources =\> true
  - :verbose =\> true
  - :benchmark =\> false
  - :backtrace =\> false
  - :bulk\_threshold =\> 1000

- REMOTE SOURCES:
  - [http://rubygems.org/](http://rubygems.org/)

---

<div class="post-metadata">

**Author:** ![SSMurat\_SSSTSSNTAS\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7ea924/32.png) [@SSMurat\_SSSTSSNTAS\_S](https://www.ruby-forum.com/u/SSMurat_SSSTSSNTAS_S)\
**Post date:** [March 14, 2011, 5:50pm UTC](https://www.ruby-forum.com/t/bug-found-ironruby-1-1-3-gem-install-problem/204491/3 "2011-03-14T17:50:27Z")

</div>

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](http://docs.rubygems.org/read/chapter/3)).

Tomas

* * *

From: removed\_email\_address@domain.invalid  
[removed\_email\_address@domain.invalid] on behalf of Murat STNTA  
[removed\_email\_address@domain.invalid]  
Sent: Monday, March 14, 2011 3:08 AM  
To: removed\_email\_address@domain.invalid  
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  
removed\_email\_address@domain.invalid  
[http://rubyforge.org/mailman/listinfo/ironruby-core](http://rubyforge.org/mailman/listinfo/ironruby-core)
