lib/bin_install/ruby.rb in bin_install-0.0.23 vs lib/bin_install/ruby.rb in bin_install-0.0.24
- old
+ new
@@ -2,10 +2,10 @@
require 'bin_install/ruby/rvm'
module BinInstall
module Ruby
def self.required_ruby_version
- Dir.chdir(Dir.pwd) { `cat .ruby-version` }
+ Dir.chdir(Dir.pwd) { `cat .ruby-version` }.chop
end
def self.ruby_version
Dir.chdir(Dir.pwd) { `ruby --version` }
end