Method: SchemaDev::RubySelector::Rbenv#command
- Defined in:
- lib/schema_dev/ruby_selector.rb
#command(ruby) ⇒ Object
44 45 46 47 |
# File 'lib/schema_dev/ruby_selector.rb', line 44 def command(ruby) version = @versions.select{|v| v.start_with? ruby}.last || abort("no ruby version '#{ruby}' installed in rbenv") "RBENV_VERSION=#{version}" end |