diff options
author | Florian Frank <flori@ping.de> | 2011-07-04 21:07:19 +0200 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2011-07-04 21:07:19 +0200 |
commit | 3ff3a9a41e12c79789b2c0cdc9628e86f0e80a6e (patch) | |
tree | 63221057169e64229376c9eca9fc746862fdbfe3 /Rakefile | |
parent | 58a54defa3344f94b211b1d3b5e1a6e24e4054b0 (diff) | |
download | json-3ff3a9a41e12c79789b2c0cdc9628e86f0e80a6e.tar.gz |
Bump up version to 1.5.4
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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' |