From 3ff3a9a41e12c79789b2c0cdc9628e86f0e80a6e Mon Sep 17 00:00:00 2001 From: Florian Frank Date: Mon, 4 Jul 2011 21:07:19 +0200 Subject: Bump up version to 1.5.4 --- Rakefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index cc8137d..f1fe12c 100644 --- a/Rakefile +++ b/Rakefile @@ -192,7 +192,22 @@ end desc "Testing library (pure ruby and extension)" task :test => [ :test_pure, :test_ext ] +namespace :gems do + task :install do + sh 'bundle' + end +end + if defined?(RUBY_ENGINE) and RUBY_ENGINE == 'jruby' + if ENV.key?('JAVA_HOME') + warn " *** JAVA_HOME was set to #{ENV['JAVA_HOME'].inspect}" + else File.directory?(local_java = '/usr/local/java/jdk') + ENV['JAVA_HOME'] = local_java + warn " *** JAVA_HOME is set to #{ENV['JAVA_HOME'].inspect}" + ENV['PATH'] = ENV['PATH'].split(/:/).unshift(java_path = "#{ENV['JAVA_HOME']}/bin") * ':' + warn " *** java binaries are assumed to be in #{java_path.inspect}" + end + file JAVA_PARSER_SRC => JAVA_RAGEL_PATH do cd JAVA_DIR do if RAGEL_CODEGEN == 'ragel' -- cgit v1.2.1