rvm 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bash/rvm +1 -1
- data/bin/rvm-install +3 -17
- metadata +1 -1
data/bash/rvm
CHANGED
data/bin/rvm-install
CHANGED
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
#!/
|
|
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
|
-
|
|
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)
|