Sha256: 84a6cbb962dd9316210e24b5764c0122b3e67ab9e7c6b8018d29232255665bf5
Contents?: true
Size: 385 Bytes
Versions: 9
Compression:
Stored size: 385 Bytes
Contents
require 'bin_install/ruby/rbenv' require 'bin_install/ruby/rvm' module BinInstall module Ruby def self.required_ruby_version Dir.chdir(Dir.pwd) { `cat .ruby-version` } end def self.ruby_version Dir.chdir(Dir.pwd) { `ruby --version` } end def self.ruby_version_installed?(version) ruby_version.start_with?("ruby #{version}") end end end
Version data entries
9 entries across 9 versions & 1 rubygems