rvm 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bash/rvm +1 -1
  2. data/bin/rvm-install +3 -17
  3. metadata +1 -1
data/bash/rvm CHANGED
@@ -3,7 +3,7 @@
3
3
  rvm_author="Wayne E. Seguin"
4
4
  rvm_author_email="wayneeseguin@gmail.com"
5
5
  rvm_website="http://github.com/wayneeseguin/rvm"
6
- rvm_version="0.0.13"
6
+ rvm_version="0.0.14"
7
7
  rvm_updated="2009.08.25"
8
8
 
9
9
  #
@@ -1,19 +1,5 @@
1
- #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
2
- #
3
- # This file was generated by RubyGems.
4
- #
5
- # The application 'rvm' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
1
+ #!/usr/bin/env ruby
8
2
 
9
- require 'rubygems'
3
+ # Hot potato!!! Bash it!
4
+ exec "bash -c 'cd #{File.dirname(File.dirname(__FILE__))} && ./bash/rvm-install #{ARGV.join(' ')} ; source ~/.bash_profile'"
10
5
 
11
- version = ">= 0"
12
-
13
- if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then
14
- version = $1
15
- ARGV.shift
16
- end
17
-
18
- gem 'rvm', version
19
- load Gem.bin_path('rvm', 'rvm-install', version)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rvm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wayne E. Seguin