class Velcro::Status::Ruby

Provide information about the ruby installation

Public Class Methods

installed?() click to toggle source
# File lib/velcro/status/ruby.rb, line 17
def self.installed?
  (`which rvm` =~ /not found/).nil?
end
print() click to toggle source
rubies() click to toggle source
# File lib/velcro/status/ruby.rb, line 21
def self.rubies
  `rvm list`.split("\n").select{|str| str =~ /ruby-/}
end