Skip to content

Instantly share code, notes, and snippets.

@ytnk531
Created January 22, 2021 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ytnk531/b468733c3b94ec45aa74adda61050f65 to your computer and use it in GitHub Desktop.
Save ytnk531/b468733c3b94ec45aa74adda61050f65 to your computer and use it in GitHub Desktop.
Setup mri ruby development environment on Windows 10.
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