Project

General

Profile

Bug #10842

Updated by nobu (Nobuyoshi Nakada) about 9 years ago

I tried to update the existing rake gem up to 10.4.2: 

 
 * download the latest version from rubygems and save it locally 
 * run `gem install rake -l -N` to install it locally 
 * got the below error: 

 ~~~ 
 C:\Users\XXXXX\Documents\Soft\gems>gem update rake -l 
 Updating installed gems 
 ERROR:    While executing gem ... (Gem::RemoteFetcher::UnknownHostError) 
     no such name (https://rubygems.org/specs.4.8.gz) 

 C:\Users\XXXXX\Documents\Soft\gems>gem install rake -l 
 rake's executable "rake" conflicts with C:/Ruby21-x64/bin/rake 
 Overwrite the executable? [yN]    C:/Ruby21-x64/lib/ruby/2.1.0/rubygems/user_interaction.rb:286: [BUG] Segmentat 
 ion fault 
 ruby 2.1.5p273 (2014-11-13 revision 48405) [x64-mingw32]. 
 ~~~ 
 See the full stack trace at this gist: https://gist.github.com/Javix/d9b8e820dbb6943827aa. 

 Reproduced on a Windows PC: 

 
 - Windows 7, 64 bits 
 - Ruby ruby 2.1.5p273 (2014-11-13 revision 48405) [x64-mingw32] 

Back