Issue #4738 has been updated by Luis Lavena.

Status changed from Open to Feedback
Priority changed from High to Normal

Hello,

Please provide the complete output of "gem env" so we can determine which path option is generating these issues.

Also, will be great if you try this against latest version of Ruby (trunk) since lost of encoding issues has been solved. (This seems related to Dir.glob which has been solved in 1.9.3 - trunk)

If you don't know how to build from scratch, take a look to RubyInstaller codebase and use it to build your local copy:

https://github.com/oneclick/rubyinstaller

----------------------------------------
Bug #4738: gem install fails with "Encoding::ConverterNotFoundError" on windows 7 greek
http://redmine.ruby-lang.org/issues/4738

Author: Ilias Lazaridis
Status: Feedback
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 1.9.2p180 (2011-02-18) [i386-mingw32]


On windows 7 greek.

Installer used:
http://rubyforge.org/frs/download.php/74298/rubyinstaller-1.9.2-p180.exe

P:\>cmd
Microsoft Windows [??κδο??η 6.1.7600]
??νε??μα??ικά δικαι?ۼα?α (c) 2009 Microsoft Corporation. ??ε ε??ι????λαξη κάθε ν??μιμο?? δικαι?ۼα?ο??.

P:\>ruby -v
ruby 1.9.2p180 (2011-02-18) [i386-mingw32]

P:\>gem -v
1.5.2

P:\>gem install json_pure
ERROR:  While executing gem ... (Encoding::ConverterNotFoundError)
    code converter not found (UTF-16LE to IBM737)

P:\>gem install json_pure --debug -V
Exception `NameError' at P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:163 - uninitialized constant Gem::Commands::InstallCommand
Exception `Encoding::ConverterNotFoundError' at P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:195 - code converter not found (UTF-16LE to IBM737)
ERROR:  While executing gem ... (Encoding::ConverterNotFoundError)
    code converter not found (UTF-16LE to IBM737)
        P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:195:in `[]'
        P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:195:in `find_spec_by_name_and_version'
        P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:244:in `install'
        P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:120:in `block in execute'
        P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:115:in `each'
        P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:115:in `execute'
        P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/command.rb:278:in `invoke'
        P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:133:in `process_args'
        P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:103:in `run'
        P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:63:in `run'
        P:/prg/ruby192/bin/gem:21:in `<main>'




-- 
http://redmine.ruby-lang.org