Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions bin/ruby3.4.5/bearsampp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
rubyVersion = "3.4.5"
rubyExe = "bin/ruby.exe"
rubyConsoleExe = "bin/setrbvars.cmd"

bundleRelease = "@RELEASE_VERSION@"
10 changes: 10 additions & 0 deletions bin/ruby3.4.5/rubygems/install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@echo off
set RUBYBINPATH=%~dp0..\bin
pushd %RUBYBINPATH%
set RUBYBINPATH=%CD%
popd

CALL "%RUBYBINPATH%\gem.cmd" install rubygems-update.gem --local --no-document
IF %ERRORLEVEL% NEQ 0 exit /b %ERRORLEVEL%

"%RUBYBINPATH%\gem.cmd" update --system --no-document
1 change: 1 addition & 0 deletions bin/ruby3.4.5/rubygems/rubygems.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rubygems = https://github.com/Bearsampp/modules-untouched/releases/download/Ruby-2025.8.16/rubygems-update-3.7.1.gem
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bundle.name=ruby
bundle.release=2025.7.2
bundle.release=2025.8.16
bundle.type=tools
bundle.format=7z
#build.path = C:/Bearsampp-build
13 changes: 8 additions & 5 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,21 @@

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

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

<!-- Check if ruby.exe exists in the rubyinstaller directory -->
<available file="${bundle.srcdest}/${rubyinstaller.dirname}/bin/ruby.exe" property="rubyinstaller.exists" />

<!-- Move files if ruby.exe exists -->
<if>
<isset property="rubyinstaller.exists" />
<then>
<echo message="Moving files from rubyinstaller-${bundle.version}-x64 to ${bundle.srcdest}" />
<echo message="Moving files from ${rubyinstaller.dirname} to ${bundle.srcdest}" />
<move todir="${bundle.srcdest}">
<fileset dir="${bundle.srcdest}/rubyinstaller-${bundle.version}-x64" />
<fileset dir="${bundle.srcdest}/${rubyinstaller.dirname}" />
</move>
<delete dir="${bundle.srcdest}/rubyinstaller-${bundle.version}-x64" />
<delete dir="${bundle.srcdest}/${rubyinstaller.dirname}" />
</then>
</if>

Expand Down
1 change: 1 addition & 0 deletions releases.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
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
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
3.4.1 = https://github.com/Bearsampp/module-ruby/releases/download/2025.2.13/bearsampp-ruby-3.4.1-2025.2.13.7z
3.4.5 = https://github.com/Bearsampp/module-ruby/releases/download/2025.8.16/bearsampp-ruby-3.4.5-2025.8.16.7z
3.4.3 = https://github.com/Bearsampp/module-ruby/releases/download/2025.4.19/bearsampp-ruby-3.4.3-2025.4.19.7z
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