Avoid building the C extension on JRuby

This commit is contained in:
R. Tyler Croy 2014-10-08 10:10:08 -07:00
parent c6779d8f56
commit d2d99c1e0b
2 changed files with 7 additions and 1 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ tmp/
*.jar
.ruby-gemset
.ruby-version
Gemfile.lock

View File

@ -37,5 +37,10 @@ end
task :build => [:compile]
task :clean => [:removetmp]
task :default => [:clean, :build, :spec]
if RUBY_PLATFORM == 'java'
task :default => [:clean, :spec]
else
task :default => [:clean, :build, :spec]
end