From 43809a3a3e6e948ac1311dbba4049a66d576e719 Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Wed, 30 Oct 2013 09:20:16 -0500 Subject: [PATCH] created an install-gems script to install gems for one of the integs without using Bundler --- integration/simple_rack_test/pom.xml | 12 ++---------- .../src/main/ruby/bin/install-gems.rb | 10 ++++++++++ 2 files changed, 12 insertions(+), 10 deletions(-) create mode 100644 integration/simple_rack_test/src/main/ruby/bin/install-gems.rb diff --git a/integration/simple_rack_test/pom.xml b/integration/simple_rack_test/pom.xml index 56e52108..c6ffc97f 100644 --- a/integration/simple_rack_test/pom.xml +++ b/integration/simple_rack_test/pom.xml @@ -30,19 +30,11 @@ jruby-maven-plugin - install-gems-bouncy-castle + install-gems initialize jruby - -S gem install bouncy-castle-java -v 1.5.0147 - - - - install-gems-rake - initialize - jruby - - -S gem install rake -v 10.1.0 + -S ${basedir}/src/main/ruby/bin/install-gems.rb diff --git a/integration/simple_rack_test/src/main/ruby/bin/install-gems.rb b/integration/simple_rack_test/src/main/ruby/bin/install-gems.rb new file mode 100644 index 00000000..c827b143 --- /dev/null +++ b/integration/simple_rack_test/src/main/ruby/bin/install-gems.rb @@ -0,0 +1,10 @@ +#!/usr/bin/env ruby + +require 'rubygems' +require 'rubygems/dependency_installer' + +installer = Gem::DependencyInstaller.new(:force => true) + +installer.install( 'bouncy-castle-java', '1.5.0147' ) +installer.install( 'rake', '10.1.0' ) +installer.install( 'diff-lcs', '1.2.4' )