Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a method to test if we are in jruby or not

  • Loading branch information...
commit 6635ac716b0b12b4b442608a0d723087c6a6b758 1 parent d73aeea
@ANithian authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/bundler.rb
View
4 lib/bundler.rb
@@ -76,6 +76,10 @@ class InvalidSpecSet < StandardError; end
class << self
attr_writer :ui, :bundle_path
+ def java?
+ RUBY_PLATFORM == "java"
+ end
+
def configure
@configured ||= begin
configure_gem_home_and_path
Please sign in to comment.
Something went wrong with that request. Please try again.