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

31693af6f6fa79aefd755d8e7fe94865?d=identicon&s=25 "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


--
Cb51033949ffccd982ae32c9f890f25a?d=identicon&s=25 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
531f4115fa3d24fc0e19f784cf05854f?d=identicon&s=25 swap kotwal (swapnilvkotwal)
on 2013-08-08 13:08
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:
     - http://rubygems.org/
This topic is locked and can not be replied to.