Class: Rda::Rvm
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
5 6 7 |
# File 'lib/rda/rvm.rb', line 5 def self.source_root File.dirname(__FILE__) end |
Instance Method Details
#discard ⇒ Object
20 21 22 23 |
# File 'lib/rda/rvm.rb', line 20 def discard remove_file(rvmrc_path) remove_file(setup_load_paths_path) end |
#setup ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/rda/rvm.rb', line 10 def setup if installed? template('templates/rvmrc', rvmrc_path) create_setup_load_paths else $stderr.puts "ERROR: RVM is not found. Please make sure that RVM is installed." end end |