Skip to content

Instantly share code, notes, and snippets.

@joshcooper
Last active April 9, 2024 17:17
Show Gist options
  • Save joshcooper/9b99aaaba08cf697c475334a305688df to your computer and use it in GitHub Desktop.
Save joshcooper/9b99aaaba08cf697c475334a305688df to your computer and use it in GitHub Desktop.
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
choco install ruby --yes --version=3.1.3.1
choco install msys2 --yes --params "/NoUpdate"
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
Update-SessionEnvironment
ridk install 2 3
ridk enable
gem install --no-document bundler
@joshcooper
Copy link
Author

joshcooper commented Jan 17, 2024

When logging in, seems you need to reconfigure chocolatey in order to add chocolatey's bin directory to the $env:PATH

$env:ChocolateyInstall = "C:\ProgramData\chocolatey"
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
Update-SessionEnvironment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment