[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 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

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/
.
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:

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: [email protected]
[[email protected]] on behalf of Murat STNTA
[[email protected]]
Sent: Monday, March 14, 2011 3:08 AM
To: [email protected]
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
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core