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-boun...@rubyforge.org [ironruby-core-boun...@rubyforge.org] on behalf of Murat ÜSTÜNTAŞ [ustun...@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 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 -- _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core