From 1b27068f5c343ae6095a3b80d83b568d7fcd53a1 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 29 Aug 2011 00:50:13 -0700 Subject: [PATCH] Add JRuby-specific files to the Gemfile for JRuby on Windows --- Gemfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Gemfile b/Gemfile index d167df8a0..8e4036faf 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,6 @@ +require "rbconfig" +platform = RbConfig::CONFIG["host_os"].downcase + source "http://rubygems.org" gem "vagrant", :path => '.' @@ -6,6 +9,11 @@ gem "vagrant", :path => '.' # typically coincides with it gem "virtualbox", :git => "git://github.com/mitchellh/virtualbox.git" +if platform.include?("mingw") || platform.include?("mswin") + gem "jruby-openssl", "~> 0.7.4", :platforms => :jruby + gem "jruby-win32ole", "~> 0.8.5", :platforms => :jruby +end + group :test do gem "rake" gem "contest", ">= 0.1.2"