From caf23f2b2327968e0cbeda716dbda671b40ee331 Mon Sep 17 00:00:00 2001 From: Abhi Yerra Date: Sun, 6 Sep 2009 21:30:49 +0800 Subject: When installing if it is JRuby then install the pure version. Signed-off-by: Florian Frank --- Rakefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index b7ca681..2fdd671 100644 --- a/Rakefile +++ b/Rakefile @@ -48,7 +48,11 @@ desc "Installing library (extension)" task :install_ext => [ :compile_ext, :install_pure, :install_ext_really ] desc "Installing library (extension)" -task :install => :install_ext +if PLATFORM =~ /java/ + task :install => :install_pure +else + task :install => :install_ext +end desc "Compiling extension" task :compile_ext => [ EXT_PARSER_DL, EXT_GENERATOR_DL ] -- cgit v1.2.1