Created
May 18, 2015 16:11
-
-
Save aharpervc/65b3588f5225a118e7a8 to your computer and use it in GitHub Desktop.
Cross build ruby 2.2
This file contains hidden or 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
--- prepare_xrubies Mon May 18 12:09:54 2015 | |
+++ prepare_xrubies_fixed Mon May 18 12:09:49 2015 | |
@@ -41,5 +41,12 @@ | |
# Build x64 Ruby 2.1 | |
rake-compiler cross-ruby VERSION=2.1.4 HOST=x86_64-w64-mingw32 debugflags="-g" | |
+# Build 2.2.1 using >= 2.0 as base | |
+rvm use 2.0 | |
+rake-compiler cross-ruby VERSION=2.2.1 HOST=i686-w64-mingw32 debugflags="-g" | |
+ | |
+# Build x64 Ruby 2.2.1 | |
+rake-compiler cross-ruby VERSION=2.2.1 HOST=x86_64-w64-mingw32 debugflags="-g" | |
+ | |
# Mark installation prepared and don't run all this again | |
touch "$HOME/.rake-compiler/.prepared" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment