Add JRuby-specific files to the Gemfile for JRuby on Windows

This commit is contained in:
Mitchell Hashimoto 2011-08-29 00:50:13 -07:00
parent 14d1b987ae
commit 1b27068f5c
1 changed files with 8 additions and 0 deletions

View File

@ -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"