Sha256: 0ea65b9c2824be96a6ff50532f4b98497edc0349c05fc6c99714c61bf59e1288

Contents?: true

Size: 482 Bytes

Versions: 2

Compression:

Stored size: 482 Bytes

Contents

module BinInstall
  module RubyEnvironmentManager
    module Rbevn
      def self.install
        puts 'Installing rbenv...'.white
        Brew.install_or_upgrade('rbenv')
        Brew.install_or_upgrade('ruby-build')
      end

      def self.install!
        puts 'Installing rbenv...'.white
        Brew.install_or_upgrade!('rbenv')
        Brew.install_or_upgrade!('ruby-build')
      end

      def self.installed?
        system('rbenv --version')
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bin_install-0.0.4 lib/bin_install/ruby_environment_manager/rbenv.rb
bin_install-0.0.3 lib/bin_install/ruby_environment_manager/rbenv.rb