Skip to content

Commit

Permalink
Update fluent-package/msi/assets/fluent-gem.bat
Browse files Browse the repository at this point in the history
Co-authored-by: Daijiro Fukuda <fukuda@clear-code.com>
  • Loading branch information
kenhys and daipom authored Sep 26, 2023
1 parent e26df3f commit 6498551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluent-package/msi/assets/fluent-gem.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if "%~nx0" == "td-agent-gem.bat" (
)
set "FLUENT_PACKAGE_BINDIR=%FLUENT_PACKAGE_TOPDIR%bin"
set PATH=%FLUENT_PACKAGE_BINDIR%;%PATH%
for /f "delims=" %%i in ('^""%FLUENT_PACKAGE_BINDIR%\ruby.exe" -rrbconfig -e "print RbConfig::CONFIG['ruby_version']"^"') do set RUBY_VERSION=%%i
for /f "usebackq" %%i in (`^""%FLUENT_PACKAGE_BINDIR%\ruby.exe" -rrbconfig -e "print RbConfig::CONFIG['ruby_version']"^"`) do set RUBY_VERSION=%%i
set "GEM_HOME=%FLUENT_PACKAGE_TOPDIR%lib\ruby\gems\%RUBY_VERSION%"
set "GEM_PATH=%FLUENT_PACKAGE_TOPDIR%lib\ruby\gems\%RUBY_VERSION%"
"%FLUENT_PACKAGE_BINDIR%\fluent-gem" %*

0 comments on commit 6498551

Please sign in to comment.