Created
August 18, 2010 18:58
-
-
Save jonforums/535786 to your computer and use it in GitHub Desktop.
Build RubyInstaller 1.9 with JRuby patch
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/recipes/interpreter/ruby19.rake b/recipes/interpreter/ruby19.rake | |
index 755f644..b63d1b8 100644 | |
--- a/recipes/interpreter/ruby19.rake | |
+++ b/recipes/interpreter/ruby19.rake | |
@@ -83,8 +83,10 @@ namespace(:interpreter) do | |
end | |
end | |
+ ruby_impl = Gem.ruby | |
+ | |
cd package.build_target do | |
- sh "sh -c \"#{relative_path}/configure #{package.configure_options.join(' ')} --enable-shared --prefix=#{File.join(RubyInstaller::ROOT, package.install_target)}\"" | |
+ sh "sh -c \"#{relative_path}/configure #{package.configure_options.join(' ')} --with-baseruby=\"#{ruby_impl}\" --enable-shared --prefix=#{File.join(RubyInstaller::ROOT, package.install_target)}\"" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment