bin/rvm-install in rvm-0.0.13 vs bin/rvm-install in rvm-0.0.14

- old
+ new

@@ -1,19 +1,5 @@ -#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -# -# This file was generated by RubyGems. -# -# The application 'rvm' is installed as part of a gem, and -# this file is here to facilitate running it. -# +#!/usr/bin/env ruby -require 'rubygems' +# Hot potato!!! Bash it! +exec "bash -c 'cd #{File.dirname(File.dirname(__FILE__))} && ./bash/rvm-install #{ARGV.join(' ')} ; source ~/.bash_profile'" -version = ">= 0" - -if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then - version = $1 - ARGV.shift -end - -gem 'rvm', version -load Gem.bin_path('rvm', 'rvm-install', version)