diff options
author | Abhi Yerra <ykabhinav@gmail.com> | 2009-09-06 21:30:49 +0800 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2009-09-22 20:24:36 +0800 |
commit | caf23f2b2327968e0cbeda716dbda671b40ee331 (patch) | |
tree | 1d873407120ca1c05e4c5052b2810255e86b8130 /Rakefile | |
parent | 8fc956d64cb871f10bfda6cdb00f43e365e47514 (diff) | |
download | json-caf23f2b2327968e0cbeda716dbda671b40ee331.tar.gz |
When installing if it is JRuby then install the pure version.
Signed-off-by: Florian Frank <flori@ping.de>
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 ] |