method
current_ruby
ruby latest stable - Class:
Bundler
Method not available on this version
This method is only available on newer versions. The first available version (v2_6_3) is shown here.
current_ruby()public
Returns current version of Ruby
@return [CurrentRuby] Current version of Ruby
# File lib/bundler/current_ruby.rb, line 7
def self.current_ruby
@current_ruby ||= CurrentRuby.new
end Related methods
- Class methods
- app_cache
- app_config_path
- bin_path
- bundle_path
- bundler_major_version
- clean_env
- clean_exec
- clean_system
- clear_gemspec_cache
- configure
- configured_bundle_path
- current_ruby
- default_bundle_dir
- default_gemfile
- default_lockfile
- definition
- environment
- feature_flag
- frozen_bundle?
- git_present?
- home
- install_path
- load
- load_gemspec
- load_gemspec_uncached
- load_marshal
- local_platform
- locked_gems
- mkdir_p
- original_env
- read_file
- require
- require_thor_actions
- requires_sudo?
- reset!
- reset_paths!
- reset_rubygems!
- rm_rf
- root
- ruby_scope
- rubygems
- settings
- setup
- specs_path
- sudo
- system_bindir
- tmp
- tmp_home_path
- ui
- ui=
- use_system_gems?
- user_bundle_path
- user_cache
- user_home
- which
- with_clean_env
- with_friendly_errors
- with_original_env
- Private methods
-
configure_gem_home -
configure_gem_home_and_path -
configure_gem_path -
eval_gemspec -
eval_yaml_gemspec -
overwrite_loaded_gem_version -
with_env