Class: RubyConfig::Runtimes::Ruby19Runtime
Constant Summary
collapse
- MAJOR_VERSION =
'1.9'
- MINOR_VERSION =
'1'
- PATCH_LEVEL =
'243'
- VERSION_STRING =
RubyConfig::Runtimes::RubyFromSourceHelper.ruby_version(MAJOR_VERSION, MINOR_VERSION, PATCH_LEVEL)
- HANDLE =
"ruby-#{VERSION_STRING}"
- DESCRIPTION =
"Ruby #{VERSION_STRING}"
- ARCHIVE_PATH =
"ruby-#{VERSION_STRING}"
Instance Attribute Summary
#install_path, #tmp_path
Instance Method Summary
collapse
#additional_library_path, #already_installed?, #archive_path, #create_directory_structure, #default_library_path, #delete, #do_install, #gem_bin_path, #gem_home_path, #initialize, #irb_executable_path, #post_install, #prepare_install, #ruby_bin_path, #ruby_executable_path, #ruby_home_path, #rubygems_installed?, #runtime_specific_gems, #to_s
Instance Method Details
#archive_download_url ⇒ Object
#archive_file_name ⇒ Object
29
30
31
|
# File 'lib/ruby_config/runtimes/ruby19_runtime.rb', line 29
def archive_file_name
"ruby-#{VERSION_STRING}.tar.gz"
end
|
#description ⇒ Object
21
22
23
|
# File 'lib/ruby_config/runtimes/ruby19_runtime.rb', line 21
def description
DESCRIPTION
end
|
#gem_executable_path ⇒ Object
37
38
39
|
# File 'lib/ruby_config/runtimes/ruby19_runtime.rb', line 37
def gem_executable_path
File.join(ruby_bin_path, 'gem')
end
|
#handle ⇒ Object
17
18
19
|
# File 'lib/ruby_config/runtimes/ruby19_runtime.rb', line 17
def handle
HANDLE
end
|
#major_version ⇒ Object
25
26
27
|
# File 'lib/ruby_config/runtimes/ruby19_runtime.rb', line 25
def major_version
MAJOR_VERSION
end
|