Class: Boxen::Preflight::RVM
- Inherits:
-
Boxen::Preflight
- Object
- Check
- Boxen::Preflight
- Boxen::Preflight::RVM
- Defined in:
- lib/boxen/preflight/rvm.rb
Instance Attribute Summary
Attributes inherited from Check
Instance Method Summary collapse
Methods inherited from Check
#abort, checks, #initialize, register, run, #warn
Constructor Details
This class inherits a constructor from Boxen::Check
Instance Method Details
#ok? ⇒ Boolean
9 10 11 |
# File 'lib/boxen/preflight/rvm.rb', line 9 def ok? !File.exist? "#{ENV['HOME']}/.rvm" end |
#run ⇒ Object
4 5 6 7 |
# File 'lib/boxen/preflight/rvm.rb', line 4 def run abort "You have an rvm installed in ~/.rvm.", "Boxen uses rbenv to install ruby, so please `rvm implode`" end |