Last active
December 22, 2015 01:19
-
-
Save metaskills/6395946 to your computer and use it in GitHub Desktop.
Current Diff For rake-compiler-dev-box
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
diff --git a/package_win32_fat_binary.sh b/package_win32_fat_binary.sh | |
index 2850e75..950afd0 100755 | |
--- a/package_win32_fat_binary.sh | |
+++ b/package_win32_fat_binary.sh | |
@@ -12,8 +12,7 @@ cd '/vagrant' | |
# passed in path of gem to be cross-compiled | |
cd $1 | |
-# need to use 1.8.7 for fat-binaries (1.9.3 can't cross-build 1.8.7) | |
-rvm use 1.8.7 | |
+rvm use 1.9.3 | |
gem install bundler && bundle install | |
-bundle exec rake cross native gem RUBY_CC_VERSION=1.8.7:1.9.3:2.0.0 | |
+bundle exec rake cross native gem RUBY_CC_VERSION=1.9.3:2.0.0 | |
diff --git a/prepare_xrubies.sh b/prepare_xrubies.sh | |
index 50107f5..ae3168a 100755 | |
--- a/prepare_xrubies.sh | |
+++ b/prepare_xrubies.sh | |
@@ -6,12 +6,6 @@ source "$HOME/.rvm/scripts/rvm" | |
# shared directory between VM and host | |
cd '/vagrant' | |
-rvm use 1.8.7 | |
-gem install rake-compiler -v "~> 0.9.1" | |
- | |
-# Build 1.8.7 with mingw32 compiler (GCC 4.2) | |
-rake-compiler cross-ruby VERSION=1.8.7-p374 HOST=i586-mingw32msvc | |
- | |
# Build 1.9.3 using 1.9.3 as base | |
rvm use 1.9.3 | |
gem install rake-compiler -v "~> 0.9.1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment