In Files

  • bundler/current_ruby.rb

Class/Module Index [+]

Quicksearch

Bundler::CurrentRuby

Public Instance Methods

jruby?() click to toggle source
 
               # File bundler/current_ruby.rb, line 54
def jruby?
  RUBY_ENGINE == "jruby"
end
            
maglev?() click to toggle source
 
               # File bundler/current_ruby.rb, line 58
def maglev?
  RUBY_ENGINE == "maglev"
end
            
mingw?() click to toggle source
 
               # File bundler/current_ruby.rb, line 74
def mingw?
  Gem.win_platform? && Bundler.local_platform != Gem::Platform::RUBY && Bundler.local_platform.os == "mingw32" && Bundler.local_platform.cpu != "x64"
end
            
mri?() click to toggle source
 
               # File bundler/current_ruby.rb, line 46
def mri?
  !mswin? && RUBY_ENGINE == "ruby"
end
            
mswin64?() click to toggle source
 
               # File bundler/current_ruby.rb, line 70
def mswin64?
  Gem.win_platform? && Bundler.local_platform != Gem::Platform::RUBY && Bundler.local_platform.os == "mswin64" && Bundler.local_platform.cpu == "x64"
end
            
mswin?() click to toggle source
 
               # File bundler/current_ruby.rb, line 66
def mswin?
  Gem.win_platform?
end
            
rbx?() click to toggle source
 
               # File bundler/current_ruby.rb, line 50
def rbx?
  ruby? && RUBY_ENGINE == "rbx"
end
            
ruby?() click to toggle source
 
               # File bundler/current_ruby.rb, line 40
def ruby?
  return true if Bundler::GemHelpers.generic_local_platform == Gem::Platform::RUBY

  !mswin? && (RUBY_ENGINE == "ruby" || RUBY_ENGINE == "rbx" || RUBY_ENGINE == "maglev" || RUBY_ENGINE == "truffleruby")
end
            
truffleruby?() click to toggle source
 
               # File bundler/current_ruby.rb, line 62
def truffleruby?
  RUBY_ENGINE == "truffleruby"
end
            
x64_mingw?() click to toggle source
 
               # File bundler/current_ruby.rb, line 78
def x64_mingw?
  Gem.win_platform? && Bundler.local_platform != Gem::Platform::RUBY && Bundler.local_platform.os == "mingw32" && Bundler.local_platform.cpu == "x64"
end