rubyinstaller2 icon indicating copy to clipboard operation
rubyinstaller2 copied to clipboard

Failed to override the executable when executing `gem update rdoc`.

Open taroxd opened this issue 8 years ago • 3 comments

What problems are you experiencing?

Failed to override the executable when executing gem update. When I am prompted whether to overwrite the executable, I cannot type y to the command prompt. My OS is Windows 10 Build 16199 in Simplified Chinese.

image

Steps to reproduce

I have no idea what to do other than calling gem install rdoc.

What's the output from ridk version?

ruby:
  path: D:/local/Ruby/stable
  version: 2.4.1
  platform: x64-mingw32
ruby_installer:
  package_version: 2.4.1-1
  git_commit: 6635d31
msys2:
  path: D:\local\msys64
cc: x86_64-w64-mingw32-gcc (Rev3, Built by MSYS2 project) 6.3.0
sh: GNU bash, version 4.4.12(1)-release (x86_64-pc-msys)

taroxd avatar May 26 '17 02:05 taroxd

If you change your code page to UTF-8 via chcp 65001, can you interact and press y?

Azolo avatar May 26 '17 02:05 Azolo

@Azolo No. I already tried this before submitting the issue.

taroxd avatar May 26 '17 03:05 taroxd

Update: I successfully typed y after hitting backspace and y repeatedly. This can be done both in ANSI and UTF-8.

taroxd avatar May 26 '17 03:05 taroxd

hi @taroxd - I am closing this if there is no other update since 2017!

mohits avatar Aug 31 '22 11:08 mohits