@@ -102,10 +102,10 @@ set "RACKET_DIR=%DEPENDENCIES%\racket%RACKET_VER%-%ARCH%"
102102set " MZSCHEME_VER = %RACKET_VER% "
103103
104104@ rem Ruby
105- set " RUBY_VER = 33 "
106- set " RUBY_API_VER_LONG = 3.3 .0"
107- set " RUBY_BRANCH = ruby_3_3 "
108- set " RUBY_RELEASE = 3.3 .8-1"
105+ set " RUBY_VER = 34 "
106+ set " RUBY_API_VER_LONG = 3.4 .0"
107+ set " RUBY_BRANCH = ruby_3_4 "
108+ set " RUBY_RELEASE = 3.4 .8-1"
109109set " RUBY_SRC_URL = https://github.com/ruby/ruby/archive/%RUBY_BRANCH% .zip"
110110set " RUBY_URL = https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-%RUBY_RELEASE% /rubyinstaller-%RUBY_RELEASE% -%ARCH% .7z"
111111set " RUBY_DIR = %DEPENDENCIES% \Ruby%RUBY_VER% -%ARCH% "
@@ -270,14 +270,14 @@ move %DEPENDENCIES%\rubyinstaller-%RUBY_RELEASE%-%ARCH% ^
270270@ rem RubyInstaller is built by MinGW, so we cannot use header files from it.
271271@ rem Download the source files and generate config.h for MSVC.
272272call :downloadfile " %RUBY_SRC_URL% " downloads\ruby_src.zip
273- @ rem Extract the files only we needed to reduce the building time.
274- 7z.exe x -y downloads\ruby_src.zip */bin */include */enc/Makefile.in */win32 ^
275- */common.mk -ir!version.h -xr! README.* -xr!*/win32/*.c -xr! */win32/*.h ^
276- -o.. > nul || exit 1
273+ @ rem Extract all files
274+ 7z.exe x -y downloads\ruby_src.zip -o.. > nul || exit 1
277275move ..\ruby-%RUBY_BRANCH% ..\ruby > nul || exit 1
278276pushd ..\ruby
279277call win32\configure.bat
280- nmake.exe -l .config.h.time || exit 1
278+ :: build Ruby
279+ nmake.exe
280+ :: nmake.exe -l .config.h.time || exit 1
281281xcopy.exe /S /Y .ext\include %RUBY_DIR% \include\ruby-%RUBY_API_VER_LONG%
282282popd
283283:skipruby
0 commit comments