Repository: buildr Updated Branches: refs/heads/master ba3b21137 -> 04b895839
Improve detection of jruby platform Project: http://git-wip-us.apache.org/repos/asf/buildr/repo Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/04b89583 Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/04b89583 Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/04b89583 Branch: refs/heads/master Commit: 04b895839f7c9e20b27847c688feac405dfbcc7a Parents: ba3b211 Author: Peter Donald <[email protected]> Authored: Sat Nov 29 10:33:42 2014 +1100 Committer: Peter Donald <[email protected]> Committed: Sat Nov 29 10:33:42 2014 +1100 ---------------------------------------------------------------------- buildr.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/buildr/blob/04b89583/buildr.gemspec ---------------------------------------------------------------------- diff --git a/buildr.gemspec b/buildr.gemspec index 99c122e..b78133e 100644 --- a/buildr.gemspec +++ b/buildr.gemspec @@ -21,7 +21,7 @@ end # Rakefile needs to create spec for all platforms (ruby and java), using the # BUILDR_PLATFORM environment variable. In all other cases, we figure it out # from RUBY_PLATFORM. -$platform = ENV['BUILDR_PLATFORM'] || Gem::Platform::CURRENT +$platform = ENV['BUILDR_PLATFORM'] || RUBY_PLATFORM[/java/] || Gem::Platform::CURRENT Gem::Specification.new do |spec| spec.name = 'buildr'
