简体   繁体   中英

Error when installing rails on windows

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

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!

尝试更改您的命令提示符代码页:

chcp 850

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM