- Install RVM
- Install Ruby 1.9.2
$ rvm install 1.9.2- I had to do this business per the instructions I saw when I ran that command:
| # Source: https://stackoverflow.com/a/43317244 | |
| $path = ".\aws-ec2-key.pem" | |
| # Reset to remove explict permissions | |
| icacls.exe $path /reset | |
| # Give current user explicit read-permission | |
| icacls.exe $path /GRANT:R "$($env:USERNAME):(R)" | |
| # Disable inheritance and remove inherited permissions | |
| icacls.exe $path /inheritance:r |
| $ curl -L https://github.com/glfw/glfw/releases/download/3.3.2/glfw-3.3.2.zip > glfw-3.3.2.zip | |
| $ unzip glfw-3.3.2.zip | |
| $ cd glfw-3.3.2/ | |
| $ mkdir build | |
| $ cd build | |
| $ export MACOSX_DEPLOYMENT_TARGET=10.14 | |
| $ cmake -D CMAKE_BUILD_TYPE=Release -D GLFW_NATIVE_API=1 -D CMAKE_OSX_ARCHITECTURES="x86_64;arm64" -D BUILD_SHARED_LIBS=ON -D CMAKE_C_COMPILER=clang ../ | |
| $ make | |
| $ ls -l src/libglfw* |
$ rvm install 1.9.2