Project

General

Profile

Bug #19847

Updated by nobu (Nobuyoshi Nakada) almost 2 years ago

I am attempting to build/install Ruby 3.2.2 open-source code on Windows using Visual Studio 2019. These are the steps I followed: 

 Using an x64 Native Tools Command Prompt (for Visual Studio 2019).. 

 1. `cd C:\tmp\ruby-3.2.2` cd C:\tmp\ruby-3.2.2 
 2. `win32\configure.bat win32\configure.bat --prefix=C:\Ruby-3.2.2 --target=x64-mswin64 --disable-install-doc` --disable-install-doc 
 3. `nmake` nmake 
 4. `nmake install` nmake install 

 The error (on Step 4): 

 ``` 
 Downloading bundled gem files... 
 `RubyGems' were not loaded. 
 `error_highlight' was not loaded. 
 `did_you_mean' was not loaded. 
 `syntax_suggest' was not loaded. 
 c:/tmp/ruby-3.2.2/tool/downloader.rb:4:in `require': cannot load such file -- fileutils (LoadError) 
         from c:/tmp/ruby-3.2.2/tool/downloader.rb:4:in `<top (required)>' 
         from -e:in `require' 
 NMAKE : fatal error U1077: 'c:\tmp\RUBY-3~1.2\ruby.exe' : return code '0x1' 
 Stop. 
 ``` 

 Is this a bug, or operator error?

Back