Issue #4738 has been updated by Lazaridis Ilias.


Note to users which hit on this problem:

Please ignore the comments of "Luis Lavena", they have no relevance to the issue.

To solve the issue on your side, just install a ruby version >= 1.9.3-p0, which has this issue solved.

http://rubyinstaller.org/downloads/

If you use rails-installer, check the ruby version (ruby -v). If it's not >= 1.9.3-p0, then try to update it via the above rubyinstaller.

Alternatively, use a rails-installer which has 1.9.3-p0 by default, e.g.:

http://railsftw.bryanbibat.net/



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

Author: Lazaridis Ilias
Status: Closed
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://bugs.ruby-lang.org/