When upgrading from ruby 1.9.3 to ruby 2.0 on linux (at least 12.04), an unexpected prompt appears.
rdoc executable "rdoc" conflicts with /path/bin/rdoc Overwrite the executable? [yN]
It works great to overwrite it manually, but I'm looking for a way for my scripts to automatically answer yes without stopping.
Just found this problem on rubygems a year ago . I use gem install in the script, so I can add yes | gem install yes | gem install
Edit: Tried yes | gem install rdoc yes | gem install rdoc , but with an error:
ERROR: Error installing rdoc: "rdoc" from rdoc conflicts with /usr/local/rubies/2.0.0-p0/bin/rdoc
source share