Add JRuby-specific files to the Gemfile for JRuby on Windows
This commit is contained in:
parent
14d1b987ae
commit
1b27068f5c
8
Gemfile
8
Gemfile
|
@ -1,3 +1,6 @@
|
||||||
|
require "rbconfig"
|
||||||
|
platform = RbConfig::CONFIG["host_os"].downcase
|
||||||
|
|
||||||
source "http://rubygems.org"
|
source "http://rubygems.org"
|
||||||
|
|
||||||
gem "vagrant", :path => '.'
|
gem "vagrant", :path => '.'
|
||||||
|
@ -6,6 +9,11 @@ gem "vagrant", :path => '.'
|
||||||
# typically coincides with it
|
# typically coincides with it
|
||||||
gem "virtualbox", :git => "git://github.com/mitchellh/virtualbox.git"
|
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
|
group :test do
|
||||||
gem "rake"
|
gem "rake"
|
||||||
gem "contest", ">= 0.1.2"
|
gem "contest", ">= 0.1.2"
|
||||||
|
|
Loading…
Reference in New Issue