Issue #4738 has been updated by Ilias Lazaridis.


Luis Lavena wrote:
> Hello,
> 
> Please provide the complete output of "gem env" so we can determine which path option is generating these issues.

P:\>gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.5.2
  - RUBY VERSION: 1.9.2 (2011-02-18 patchlevel 180) [i386-mingw32]
  - INSTALLATION DIRECTORY: P:/prg/ruby192/lib/ruby/gems/1.9.1
  - RUBY EXECUTABLE: P:/prg/ruby192/bin/ruby.exe
  - EXECUTABLE DIRECTORY: P:/prg/ruby192/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-mingw32
  - GEM PATHS:
     - P:/prg/ruby192/lib/ruby/gems/1.9.1
     - C:/Users/lazaridis/.gem/ruby/1.9.1
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/

> 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

I'm sorry, I cannot go into this.

What I can do:

 * I could download and install, if you provide a download location.
 * Or I could apply and test a patch if one is provided.




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