rvm 0.0.12 → 0.0.13

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 +2 -2
  2. data/bin/rvm-install +17 -3
  3. metadata +2 -2
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.12"
6
+ rvm_version="0.0.13"
7
7
  rvm_updated="2009.08.25"
8
8
 
9
9
  #
@@ -649,7 +649,7 @@ function rvm {
649
649
  else
650
650
  prefix_path=${prefix-$HOME/.}
651
651
  fi
652
- source_path="${source_path-$install_path/src}"
652
+ source_path="${source_path-"$prefix_path/src"}"
653
653
  install_path="${prefix_path}rvm"
654
654
 
655
655
  mkdir -p $prefix_path $source_path $install_path
@@ -1,5 +1,19 @@
1
- #!/usr/bin/env ruby
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
+ #
2
8
 
3
- # Hot potato!!! Bash it!
4
- exec "bash -c 'cd #{File.dirname(File.dirname(__FILE__))} && ./bash/rvm-install #{ARGV.join(' ')} ; source ~/.bash_profile'"
9
+ require 'rubygems'
5
10
 
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.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wayne E. Seguin
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  requirements: []
54
54
 
55
55
  rubyforge_project: dynamicreports
56
- rubygems_version: 1.3.4
56
+ rubygems_version: 1.3.5
57
57
  signing_key:
58
58
  specification_version: 3
59
59
  summary: Ruby Version Manager (rvm)