diff options
-rw-r--r-- | tasks/constants.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/constants.rb b/tasks/constants.rb index 6f37593..0e84d3a 100644 --- a/tasks/constants.rb +++ b/tasks/constants.rb @@ -20,8 +20,8 @@ end BUILD_DIR = "build" -USE_RAKE_COMPILER = ( (RUBY_PLATFORM =~ /java/) ? false : true ) or test ?d, 'ext' -if USE_RAKE_COMPILER# and test ?d, 'ext' +USE_RAKE_COMPILER = ( ( (RUBY_PLATFORM =~ /java/) ? false : true ) and test ?d, 'ext' ) +if USE_RAKE_COMPILER gem 'rake-compiler', '>=0.6.0' require 'rake/extensiontask' ENV['RUBY_CC_VERSION'] = '1.8.7:1.9.2' |