From 34c2796add15cd5fe15c1cf19ddf85d50ebd1764 Mon Sep 17 00:00:00 2001 From: Chad Wilson Date: Sat, 6 Jan 2024 00:45:30 +0800 Subject: [PATCH 1/2] (ruby*) Prefer GitHub mirror source URLs --- automatic/ruby.install/ruby.install.nuspec | 2 +- automatic/ruby.portable/ruby.portable.nuspec | 2 +- automatic/ruby/ruby.nuspec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/automatic/ruby.install/ruby.install.nuspec b/automatic/ruby.install/ruby.install.nuspec index 37d5a5ebcbb..aa7aba303cf 100644 --- a/automatic/ruby.install/ruby.install.nuspec +++ b/automatic/ruby.install/ruby.install.nuspec @@ -26,7 +26,7 @@ Example: `choco install ruby --package-parameters="'/NoPath ""/InstallDir:C:\yo ruby language programming development dynamic cross-platform foss https://www.ruby-lang.org/en/about/license.txt https://www.ruby-lang.org - https://git.ruby-lang.org/ruby.git/tree + https://github.com/ruby/ruby https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/ruby.install https://bugs.ruby-lang.org/projects/ruby-master/issues false diff --git a/automatic/ruby.portable/ruby.portable.nuspec b/automatic/ruby.portable/ruby.portable.nuspec index 12720348fc1..c6444a98fb7 100644 --- a/automatic/ruby.portable/ruby.portable.nuspec +++ b/automatic/ruby.portable/ruby.portable.nuspec @@ -18,7 +18,7 @@ Ruby is a dynamic, open source programming language focusing on simplicity and p ruby language programming development dynamic cross-platform foss portable https://www.ruby-lang.org/en/about/license.txt https://www.ruby-lang.org - https://git.ruby-lang.org/ruby.git/tree + https://github.com/ruby/ruby https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/ruby.portable https://bugs.ruby-lang.org/projects/ruby-master/issues false diff --git a/automatic/ruby/ruby.nuspec b/automatic/ruby/ruby.nuspec index a1c5e152344..8b4bd849595 100644 --- a/automatic/ruby/ruby.nuspec +++ b/automatic/ruby/ruby.nuspec @@ -27,7 +27,7 @@ Example: `choco install ruby --package-parameters="'/NoPath ""/InstallDir:C:\yo ruby language programming development dynamic cross-platform foss https://www.ruby-lang.org/en/about/license.txt https://www.ruby-lang.org - https://git.ruby-lang.org/ruby.git/tree + https://github.com/ruby/ruby https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/ruby https://bugs.ruby-lang.org/projects/ruby-master/issues false From 7f93ede38b9e138b3e9986d92230454f09fdd821 Mon Sep 17 00:00:00 2001 From: Chad Wilson Date: Sat, 6 Jan 2024 01:32:55 +0800 Subject: [PATCH 2/2] (ruby.install) Install for all users by default Ruby Installer now seems to need to have this specified. --- automatic/ruby.install/tools/chocolateyInstall.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automatic/ruby.install/tools/chocolateyInstall.ps1 b/automatic/ruby.install/tools/chocolateyInstall.ps1 index 700796f79d2..e35f5fbd37b 100644 --- a/automatic/ruby.install/tools/chocolateyInstall.ps1 +++ b/automatic/ruby.install/tools/chocolateyInstall.ps1 @@ -16,7 +16,7 @@ $packageArgs = @{ fileType = 'exe' file = "$toolsPath\rubyinstaller-3.3.0-1-x86.exe" file64 = "$toolsPath\rubyinstaller-3.3.0-1-x64.exe" - silentArgs = '/verysilent /dir="{0}" /tasks="{1}"' -f $installDir, ($tasks -join ',') + silentArgs = '/verysilent /allusers /dir="{0}" /tasks="{1}"' -f $installDir, ($tasks -join ',') validExitCodes = @(0) softwareName = 'ruby *' }