0

i just install ruby on windows system

C:\Users\PC>ruby --version
ruby 1.9.2p290 (2011-07-09) [i386-mingw32]

but when i try to install rails

C:\Users\PC>gem install rails --include-dependencies
INFO:  `gem install -y` is now default and will be removed
INFO:  use --ignore-dependencies to install only the gems you list
ERROR:  While executing gem ... (Encoding::ConverterNotFoundError)
    code converter not found (UTF-16LE to IBM737)

could you please help me...

i have english version of windows 7 Ultimate with greek language installed

3
  • Windows is not an ideal dev environment for rails, the community mostly uses OSX and ubuntu, so it's likely that a lot of scripts and gems won't work unmodified on non-*nix environments. Commented Jul 31, 2011 at 1:20
  • @Charles: True, but expecting Ruby, RubyGems and Rails to work on Windows is not unreasonable. Commented Jul 31, 2011 at 1:25
  • Yeah, it was more of a word of warning than anything related to the question. I've been burned myself when I first tried to setup a rails dev environment on windows Commented Jul 31, 2011 at 1:28

2 Answers 2

1

You might consider using the Rails Installer for windows if you can use Ruby 1.8.7. It will install ruby and rails and other dependencies for you. There are screencasts and other help as well.

If you need ruby 1.9.2+, then it looks like you might be out of luck unless you upgrade to ruby 1.9.3. You can read about it here.

Good luck!

Sign up to request clarification or add additional context in comments.

Comments

0

Try changing your Command Prompt code page:

chcp 850

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.