Skip to content

Commit 9ca5367

Browse files
authored
Merge pull request #14 from Bearsampp/3.4.5
3.4.5
2 parents 73fc0e3 + 1af39b0 commit 9ca5367

File tree

6 files changed

+26
-6
lines changed

6 files changed

+26
-6
lines changed

bin/ruby3.4.5/bearsampp.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
rubyVersion = "3.4.5"
2+
rubyExe = "bin/ruby.exe"
3+
rubyConsoleExe = "bin/setrbvars.cmd"
4+
5+
bundleRelease = "@RELEASE_VERSION@"

bin/ruby3.4.5/rubygems/install.bat

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@echo off
2+
set RUBYBINPATH=%~dp0..\bin
3+
pushd %RUBYBINPATH%
4+
set RUBYBINPATH=%CD%
5+
popd
6+
7+
CALL "%RUBYBINPATH%\gem.cmd" install rubygems-update.gem --local --no-document
8+
IF %ERRORLEVEL% NEQ 0 exit /b %ERRORLEVEL%
9+
10+
"%RUBYBINPATH%\gem.cmd" update --system --no-document
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rubygems = https://github.com/Bearsampp/modules-untouched/releases/download/Ruby-2025.8.16/rubygems-update-3.7.1.gem

build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bundle.name=ruby
2-
bundle.release=2025.7.2
2+
bundle.release=2025.8.16
33
bundle.type=tools
44
bundle.format=7z
55
#build.path = C:/Bearsampp-build

build.xml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,21 @@
2222

2323
<getmoduleuntouched name="${bundle.name}" version="${bundle.version}" propSrcDest="bundle.srcdest" propSrcFilename="bundle.srcfilename" />
2424

25-
<!-- Check if ruby.exe exists in the rubyinstaller-x64 directory -->
26-
<available file="${bundle.srcdest}/rubyinstaller-${bundle.version}-x64/bin/ruby.exe" property="rubyinstaller.exists" />
25+
<!-- Extract directory name from bundle.srcfilename by removing file extension -->
26+
<basename property="rubyinstaller.dirname" file="${bundle.srcfilename}" suffix=".7z" />
27+
28+
<!-- Check if ruby.exe exists in the rubyinstaller directory -->
29+
<available file="${bundle.srcdest}/${rubyinstaller.dirname}/bin/ruby.exe" property="rubyinstaller.exists" />
2730

2831
<!-- Move files if ruby.exe exists -->
2932
<if>
3033
<isset property="rubyinstaller.exists" />
3134
<then>
32-
<echo message="Moving files from rubyinstaller-${bundle.version}-x64 to ${bundle.srcdest}" />
35+
<echo message="Moving files from ${rubyinstaller.dirname} to ${bundle.srcdest}" />
3336
<move todir="${bundle.srcdest}">
34-
<fileset dir="${bundle.srcdest}/rubyinstaller-${bundle.version}-x64" />
37+
<fileset dir="${bundle.srcdest}/${rubyinstaller.dirname}" />
3538
</move>
36-
<delete dir="${bundle.srcdest}/rubyinstaller-${bundle.version}-x64" />
39+
<delete dir="${bundle.srcdest}/${rubyinstaller.dirname}" />
3740
</then>
3841
</if>
3942

releases.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
3.3.0-1 = https://github.com/Bearsampp/module-ruby/releases/download/2024.4.14/bearsampp-ruby-3.3.0-1-2024.4.14.7z
88
3.3.6-2 = https://github.com/Bearsampp/module-ruby/releases/download/2024.12.3/bearsampp-ruby-3.3.6-2-2024.12.3.7z
99
3.4.1 = https://github.com/Bearsampp/module-ruby/releases/download/2025.2.13/bearsampp-ruby-3.4.1-2025.2.13.7z
10+
3.4.5 = https://github.com/Bearsampp/module-ruby/releases/download/2025.8.16/bearsampp-ruby-3.4.5-2025.8.16.7z
1011
3.4.3 = https://github.com/Bearsampp/module-ruby/releases/download/2025.4.19/bearsampp-ruby-3.4.3-2025.4.19.7z
1112
3.4.4-2 = https://github.com/Bearsampp/module-ruby/releases/download/2025.7.2/bearsampp-ruby-3.4.4-2-2025.7.2.7z

0 commit comments

Comments
 (0)