Created
January 22, 2021 17:59
-
-
Save ytnk531/b468733c3b94ec45aa74adda61050f65 to your computer and use it in GitHub Desktop.
Setup mri ruby development environment on Windows 10.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-ExecutionPolicy RemoteSigned -scope CurrentUser | |
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh') | |
scoop install git ruby bison m4 sed patch gzip | |
git clone https://github.com/microsoft/vcpkg | |
.\vcpkg\bootstrap-vcpkg.bat | |
.\vcpkg\vcpkg --triplet x64-windows install openssl zlib | |
win32\configure.bat --without-ext=+,dbm,gdbm,readline --enable-bundled-libffi --with-opt-dir=C:/opt/local/src/github.com/Microsoft/vcpkg/installed/x64-windows |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment