rvm 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/VERSION.yml +1 -1
- data/lib/rvm/environment.rb +1 -1
- data/lib/rvm/shell/shell_wrapper.sh +1 -1
- data/rvm.gemspec +3 -110
- metadata +4 -111
- data/binscripts/rvm +0 -76
- data/binscripts/rvm-auto-ruby +0 -24
- data/binscripts/rvm-prompt +0 -208
- data/binscripts/rvm-shell +0 -35
- data/binscripts/rvm-update-head +0 -58
- data/binscripts/rvm-update-latest +0 -27
- data/binscripts/rvmsudo +0 -20
- data/config/db +0 -71
- data/config/known +0 -54
- data/config/md5 +0 -139
- data/contrib/gemset_snapshot +0 -25
- data/contrib/install-system-wide +0 -221
- data/contrib/r +0 -44
- data/examples/rvmrc +0 -49
- data/gemsets/default.gems +0 -1
- data/gemsets/global.gems +0 -1
- data/help/alias +0 -46
- data/help/benchmark +0 -17
- data/help/cleanup +0 -23
- data/help/debug +0 -8
- data/help/disk-usage +0 -15
- data/help/docs +0 -22
- data/help/exec +0 -33
- data/help/fetch +0 -5
- data/help/gem +0 -0
- data/help/gemdir +0 -0
- data/help/gemset +0 -14
- data/help/implode +0 -0
- data/help/info +0 -62
- data/help/install +0 -0
- data/help/list +0 -0
- data/help/migrate +0 -15
- data/help/monitor +0 -0
- data/help/notes +0 -0
- data/help/package +0 -0
- data/help/rake +0 -14
- data/help/remove +0 -0
- data/help/repair +0 -23
- data/help/reset +0 -0
- data/help/ruby +0 -84
- data/help/rubygems +0 -11
- data/help/rvmrc +0 -34
- data/help/snapshot +0 -15
- data/help/specs +0 -0
- data/help/srcdir +0 -0
- data/help/tests +0 -0
- data/help/tools +0 -22
- data/help/uninstall +0 -0
- data/help/update +0 -0
- data/help/upgrade +0 -18
- data/help/use +0 -0
- data/help/wrapper +0 -41
- data/install +0 -667
- data/man/man1/rvm.1 +0 -380
- data/man/man1/rvm.1.gz +0 -0
- data/scripts/alias +0 -226
- data/scripts/aliases +0 -4
- data/scripts/array +0 -32
- data/scripts/base +0 -57
- data/scripts/cd +0 -94
- data/scripts/cleanup +0 -58
- data/scripts/cli +0 -798
- data/scripts/color +0 -49
- data/scripts/completion +0 -151
- data/scripts/db +0 -87
- data/scripts/default +0 -64
- data/scripts/disk-usage +0 -60
- data/scripts/docs +0 -115
- data/scripts/env +0 -46
- data/scripts/environment-convertor +0 -74
- data/scripts/fetch +0 -231
- data/scripts/gemsets +0 -1045
- data/scripts/get +0 -126
- data/scripts/hash +0 -37
- data/scripts/help +0 -46
- data/scripts/hook +0 -23
- data/scripts/info +0 -213
- data/scripts/initialize +0 -29
- data/scripts/install +0 -667
- data/scripts/irbrc +0 -13
- data/scripts/irbrc.rb +0 -64
- data/scripts/list +0 -315
- data/scripts/log +0 -38
- data/scripts/maglev +0 -193
- data/scripts/manage +0 -2157
- data/scripts/match +0 -6
- data/scripts/md5 +0 -22
- data/scripts/migrate +0 -175
- data/scripts/monitor +0 -105
- data/scripts/notes +0 -140
- data/scripts/override_gem +0 -14
- data/scripts/package +0 -302
- data/scripts/patches +0 -64
- data/scripts/patchsets +0 -87
- data/scripts/repair +0 -199
- data/scripts/rubygems +0 -157
- data/scripts/rvm +0 -128
- data/scripts/rvm-install +0 -667
- data/scripts/selector +0 -904
- data/scripts/set +0 -301
- data/scripts/snapshot +0 -262
- data/scripts/tools +0 -58
- data/scripts/update +0 -667
- data/scripts/upgrade +0 -144
- data/scripts/utility +0 -1499
- data/scripts/version +0 -17
- data/scripts/wrapper +0 -210
data/contrib/r
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
|
3
|
-
#
|
4
|
-
# r - Rails shortcut command.
|
5
|
-
#
|
6
|
-
r() {
|
7
|
-
local action args
|
8
|
-
|
9
|
-
action="$1" ; shift
|
10
|
-
|
11
|
-
args="$@"
|
12
|
-
|
13
|
-
case "$action" in
|
14
|
-
|
15
|
-
c) action=console ;;
|
16
|
-
|
17
|
-
db) action=dbconsole ;;
|
18
|
-
|
19
|
-
g) action=generate ;;
|
20
|
-
|
21
|
-
h|help) action="-h" ;;
|
22
|
-
|
23
|
-
esac
|
24
|
-
|
25
|
-
if [[ -s config.ru ]] ; then
|
26
|
-
|
27
|
-
ruby ./script/rails $args
|
28
|
-
|
29
|
-
else
|
30
|
-
|
31
|
-
if [[ -s ./script/$action ]] ; then
|
32
|
-
|
33
|
-
ruby ./script/$action $args
|
34
|
-
|
35
|
-
else
|
36
|
-
|
37
|
-
printf "ERROR: Missing script ./script/$action !!!"
|
38
|
-
|
39
|
-
fi
|
40
|
-
|
41
|
-
fi
|
42
|
-
|
43
|
-
return 0
|
44
|
-
}
|
data/examples/rvmrc
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
# Example ~/.rvmrc file.
|
2
|
-
#
|
3
|
-
# This file shows some examples of setting defaults to your own tastes.
|
4
|
-
#
|
5
|
-
# If you wish to adjust the default ruby interpreter/version/patchlevel
|
6
|
-
# settings they can be found in the $rvm_path/config/db file.
|
7
|
-
# Beware that currently that file is overwritten on install so
|
8
|
-
# back it up if you change anything.
|
9
|
-
#
|
10
|
-
|
11
|
-
# rvm Path
|
12
|
-
# This is where rvm installs and manages everything in by default.
|
13
|
-
#export rvm_path="$HOME/.rvm"
|
14
|
-
|
15
|
-
# Source Path
|
16
|
-
# This is where rvm extracts to for compiling & installing.
|
17
|
-
#export rvm_source_path="${rvm_path}/src"
|
18
|
-
|
19
|
-
# Log Path
|
20
|
-
# This is where rvm logs all of it's actions to
|
21
|
-
# (not including the 'do' actions)
|
22
|
-
#export rvm_log_path="${rvm_path}/log"
|
23
|
-
|
24
|
-
# Bin Path
|
25
|
-
# This is where rvm places all of it's executable/wrapper scripts.
|
26
|
-
#export rvm_bin_path="${rvm_path}/bin"
|
27
|
-
|
28
|
-
# Gem Path
|
29
|
-
# This is where rvm installs all gems to for each ruby
|
30
|
-
# interpreter/version%gemset
|
31
|
-
#export rvm_gems_path="$rvm_path/gems"
|
32
|
-
|
33
|
-
# Temp Path
|
34
|
-
# This is where rvm stores all of its temporary files.
|
35
|
-
#export rvm_tmp_path="${rvm_tmp_path:-"$rvm_path/tmp"}"
|
36
|
-
|
37
|
-
# Install On Use Flag
|
38
|
-
# Install rubies when used if are not installed.
|
39
|
-
#export rvm_install_on_use_flag=1
|
40
|
-
|
41
|
-
# Gemset Creat on use Flag
|
42
|
-
# This will create a gemset when the gemset is used if it does not exist
|
43
|
-
# export rvm_gemset_create_on_use_flag=1
|
44
|
-
|
45
|
-
# Make Flags, I have 8 cpu's so I might use 7 make threads:
|
46
|
-
#export rvm_make_flags="-j7"
|
47
|
-
|
48
|
-
# Automatically trust project .rvmrc files
|
49
|
-
# export rvm_trust_rvmrcs_flag=1
|
data/gemsets/default.gems
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
rake
|
data/gemsets/global.gems
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
rake
|
data/help/alias
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
Alias
|
2
|
-
|
3
|
-
RVM allows you to alias your rubies for your convenience and pleasure.
|
4
|
-
|
5
|
-
Usage
|
6
|
-
rvm [options] alias source destination
|
7
|
-
|
8
|
-
Source and Destination must be an RVM
|
9
|
-
ruby string representing an RVM installed ruby.
|
10
|
-
|
11
|
-
A gemset may be optionally included.
|
12
|
-
|
13
|
-
Creating Aliases
|
14
|
-
|
15
|
-
First select an RVM ruby.
|
16
|
-
|
17
|
-
∴ rvm alias create php ree-1.8.7-p2010.01
|
18
|
-
|
19
|
-
Using Aliases
|
20
|
-
|
21
|
-
Now that you have created an alias, you can use the alias in place of the longer rvm selector string.
|
22
|
-
|
23
|
-
∴ rvm use php
|
24
|
-
∴ ruby -v
|
25
|
-
ruby 1.8.7 (2009-12-24 patchlevel 248) [i686-darwin10.3.0], MBARI 0x6770, Ruby Enterprise Edition 2010.01
|
26
|
-
|
27
|
-
If you use any aliases that are rather funny, please hop in #rvm and let us know :)
|
28
|
-
|
29
|
-
Deleting Aliases
|
30
|
-
|
31
|
-
If you wish to delete an alias
|
32
|
-
|
33
|
-
∴ rvm alias delete dotnet
|
34
|
-
Listing Aliases
|
35
|
-
|
36
|
-
You can also list all current aliases
|
37
|
-
|
38
|
-
∴ rvm alias list
|
39
|
-
php => ree-1.8.7-p2010.01
|
40
|
-
lisp => maglev-head
|
41
|
-
python => rbx-head
|
42
|
-
|
43
|
-
Documentation:
|
44
|
-
|
45
|
-
http://rvm.beginrescueend.com/rubies/alias/
|
46
|
-
|
data/help/benchmark
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
Benchmark
|
2
|
-
|
3
|
-
If you have a bit of code that you would like to benchmark across several versions of ruby all at once you can now do this easily with RVM. Given:
|
4
|
-
|
5
|
-
∴ cat increment.rb
|
6
|
-
y=0
|
7
|
-
1000.times do |x|
|
8
|
-
y = x + 1
|
9
|
-
end
|
10
|
-
We can benchmark this code against multiple ruby versions very easily:
|
11
|
-
|
12
|
-
∴ rvm 1.8.6,1.8.7,1.9.1,ree benchmark increment.rb
|
13
|
-
|
14
|
-
|
15
|
-
Documentation:
|
16
|
-
|
17
|
-
http://rvm.beginrescueend.com/set/benchmark/
|
data/help/cleanup
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
|
2
|
-
∴ rvm cleanup {all,archives,repos,sources,logs}
|
3
|
-
|
4
|
-
Performs general cleanup for the specific set of rvm directories.
|
5
|
-
|
6
|
-
Useful for reclaiming needlessly used disk space from rvm compiles
|
7
|
-
and the like.
|
8
|
-
|
9
|
-
Examples:
|
10
|
-
|
11
|
-
To reclaim all of the space used by archives, repository clones,
|
12
|
-
source files (and associated temporary compile file) and logs, you'd
|
13
|
-
run:
|
14
|
-
|
15
|
-
∴ rvm cleanup all
|
16
|
-
|
17
|
-
If instead you only wanted to clean up source files, you'd run:
|
18
|
-
|
19
|
-
∴ rvm cleanup sources
|
20
|
-
|
21
|
-
Please note that sometimes have archives and sources around are desirable.
|
22
|
-
Namely, you need the sources to install something such as ruby-debug under
|
23
|
-
1.9.
|
data/help/debug
DELETED
data/help/disk-usage
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
∴ rvm disk-usage {all,archives,repos,sources,logs,packages,rubies,gemsets}
|
3
|
-
|
4
|
-
Returns the amount of disk space used by a specific set of data associated
|
5
|
-
with rvm. All returns all of them individually plus the total space used.
|
6
|
-
|
7
|
-
Examples:
|
8
|
-
|
9
|
-
To find out how much space your rvm install is using, simply run:
|
10
|
-
|
11
|
-
∴ rvm disk-usage all
|
12
|
-
|
13
|
-
To find out how much space only your gemsets use, run:
|
14
|
-
|
15
|
-
∴ rvm disk-usage gemsets
|
data/help/docs
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
|
2
|
-
∴ rvm docs {generate,generate-ri,generate-rdoc}
|
3
|
-
|
4
|
-
Generates ri and / or rdoc documentation for the current ruby.
|
5
|
-
|
6
|
-
If you have the hanna gem installed, rdoc generation should automatically use it.
|
7
|
-
Alternatively, you can pass the --docs flag to automatically call 'rvm docs generate'
|
8
|
-
as part of the install process.
|
9
|
-
|
10
|
-
Examples:
|
11
|
-
|
12
|
-
∴ rvm docs generate
|
13
|
-
|
14
|
-
Generates both ri and rdoc documentation for the current ruby.
|
15
|
-
|
16
|
-
∴ rvm docs generate-ri
|
17
|
-
|
18
|
-
Generates only ri documentation for the current ruby.
|
19
|
-
|
20
|
-
∴ rvm docs generate-rdoc
|
21
|
-
|
22
|
-
Generates only rdoc documentation for the current ruby.
|
data/help/exec
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
|
2
|
-
∴ rvm exec some-command
|
3
|
-
|
4
|
-
Executes arbitrary commands against rvm set operations. If given a set that
|
5
|
-
matches a single ruby command, it will exec the command directly without printing
|
6
|
-
out extra rvm information.
|
7
|
-
|
8
|
-
Examples:
|
9
|
-
|
10
|
-
To execute 'ruby -v' against all installed rubies and aliases, you would run:
|
11
|
-
|
12
|
-
∴ rvm exec ruby -v
|
13
|
-
|
14
|
-
If you instead want to execute it against a specific ruby (without extra logging
|
15
|
-
/ data printed by rvm as is done with normal set operations), you can instead do:
|
16
|
-
|
17
|
-
∴ rvm ree exec ruby -v
|
18
|
-
|
19
|
-
Since it is a set operation, normal ruby specifiers will work. As an example, to run
|
20
|
-
it against 1.9.2 and 1.8.7, you would run:
|
21
|
-
|
22
|
-
∴ rvm 1.9.2,1.8.7 exec ruby -v
|
23
|
-
|
24
|
-
Or, to execute 'gem env' against all gemsets:
|
25
|
-
|
26
|
-
∴ rvm --with-rubies all-gemsets exec gem env
|
27
|
-
|
28
|
-
To execute 'which ruby' in the current directory, loading a .rvmrc and falling back
|
29
|
-
to the default ruby:
|
30
|
-
|
31
|
-
∴ rvm --with-rubies default-with-rvmrc exec which ruby
|
32
|
-
|
33
|
-
For more information, look up the rvm set operations.
|
data/help/fetch
DELETED
data/help/gem
DELETED
File without changes
|
data/help/gemdir
DELETED
File without changes
|
data/help/gemset
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
|
2
|
-
Usage:
|
3
|
-
|
4
|
-
rvm gemset [action]
|
5
|
-
|
6
|
-
Action:
|
7
|
-
|
8
|
-
{import,export,create,copy,rename,empty,delete,name,dir,list,list_all,gemdir,install,pristine,clear,use,update,unpack,globalcache}
|
9
|
-
|
10
|
-
Description:
|
11
|
-
|
12
|
-
Commands for working with and manipulating gemsets within RVM.
|
13
|
-
|
14
|
-
|
data/help/implode
DELETED
File without changes
|
data/help/info
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
|
2
|
-
∴ rvm info [ruby_string[,ruby_string[,...] [section,[section[,...]
|
3
|
-
|
4
|
-
where sections are one of:
|
5
|
-
|
6
|
-
system rvm ruby homes binaries environment debug
|
7
|
-
|
8
|
-
Both ruby strings and sections are optional arguments.
|
9
|
-
|
10
|
-
By default with no parameters rvm info will output all sections except debug.
|
11
|
-
|
12
|
-
To display system rvm debug information:
|
13
|
-
|
14
|
-
∴ rvm debug
|
15
|
-
|
16
|
-
which will display all sections including debug for the current or specified interpreters.
|
17
|
-
|
18
|
-
Example:
|
19
|
-
|
20
|
-
∴ rvm info 1.9.2-head,1.8.7 homes,binaries,environment
|
21
|
-
|
22
|
-
ruby-1.9.2-head:
|
23
|
-
|
24
|
-
homes:
|
25
|
-
gem: "/Users/wayne/.rvm/gems/ruby-1.9.2-head"
|
26
|
-
ruby: "/Users/wayne/.rvm/rubies/ruby-1.9.2-head"
|
27
|
-
|
28
|
-
binaries:
|
29
|
-
ruby: "/Users/wayne/.rvm/rubies/ruby-1.9.2-head/bin/ruby"
|
30
|
-
irb: "/Users/wayne/.rvm/rubies/ruby-1.9.2-head/bin/irb"
|
31
|
-
gem: "/Users/wayne/.rvm/rubies/ruby-1.9.2-head/bin/gem"
|
32
|
-
rake: "/Users/wayne/.rvm/gems/ruby-1.9.2-head/bin/rake"
|
33
|
-
|
34
|
-
environment:
|
35
|
-
GEM_HOME: "/Users/wayne/.rvm/gems/ruby-1.9.2-head"
|
36
|
-
GEM_PATH: "/Users/wayne/.rvm/gems/ruby-1.9.2-head:/Users/wayne/.rvm/gems/ruby-1.9.2-head@global"
|
37
|
-
MY_RUBY_HOME: "/Users/wayne/.rvm/rubies/ruby-1.9.2-head"
|
38
|
-
IRBRC: "/Users/wayne/.rvm/rubies/ruby-1.9.2-head/.irbrc"
|
39
|
-
RUBYOPT: ""
|
40
|
-
gemset: ""
|
41
|
-
|
42
|
-
ruby-1.8.7-p249:
|
43
|
-
|
44
|
-
homes:
|
45
|
-
gem: "/Users/wayne/.rvm/gems/ruby-1.8.7-p249"
|
46
|
-
ruby: "/Users/wayne/.rvm/rubies/ruby-1.8.7-p249"
|
47
|
-
|
48
|
-
binaries:
|
49
|
-
ruby: "/Users/wayne/.rvm/rubies/ruby-1.8.7-p249/bin/ruby"
|
50
|
-
irb: "/Users/wayne/.rvm/rubies/ruby-1.8.7-p249/bin/irb"
|
51
|
-
gem: "/Users/wayne/.rvm/rubies/ruby-1.8.7-p249/bin/gem"
|
52
|
-
rake: "/Users/wayne/.rvm/gems/ruby-1.8.7-p249/bin/rake"
|
53
|
-
|
54
|
-
environment:
|
55
|
-
GEM_HOME: "/Users/wayne/.rvm/gems/ruby-1.8.7-p249"
|
56
|
-
GEM_PATH: "/Users/wayne/.rvm/gems/ruby-1.8.7-p249:/Users/wayne/.rvm/gems/ruby-1.8.7-p249@global"
|
57
|
-
MY_RUBY_HOME: "/Users/wayne/.rvm/rubies/ruby-1.8.7-p249"
|
58
|
-
IRBRC: "/Users/wayne/.rvm/rubies/ruby-1.8.7-p249/.irbrc"
|
59
|
-
RUBYOPT: ""
|
60
|
-
gemset: ""
|
61
|
-
|
62
|
-
|
data/help/install
DELETED
File without changes
|
data/help/list
DELETED
File without changes
|
data/help/migrate
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
∴ rvm migrate from to
|
3
|
-
|
4
|
-
Efficiently moves the gems from one ruby to another.
|
5
|
-
Like 'rvm gemset copy' but removes the gems from the source
|
6
|
-
ruby afterwards and runs it against all gemsets for a given
|
7
|
-
ruby.
|
8
|
-
|
9
|
-
Examples:
|
10
|
-
|
11
|
-
To migrate all gemsets from rc2 of 1.9.2 to the first release, p0,
|
12
|
-
you'd run:
|
13
|
-
|
14
|
-
∴ rvm migrate 1.9.2-rc2 1.9.2-p0
|
15
|
-
|
data/help/monitor
DELETED
File without changes
|
data/help/notes
DELETED
File without changes
|
data/help/package
DELETED
File without changes
|
data/help/rake
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
Rake
|
2
|
-
|
3
|
-
RVM allows you to run rake tasks across multiple ruby versions, for example:
|
4
|
-
|
5
|
-
∴ rvm 1.8.6,1.9.1 rake spec
|
6
|
-
|
7
|
-
JSON Summary
|
8
|
-
|
9
|
-
Adding a --json flag prior to the word 'rake' and a JSON summary will be printed out at the end of the run.
|
10
|
-
|
11
|
-
YAML Summary
|
12
|
-
|
13
|
-
Adding a --yaml flag prior to the word 'rake' and a YAML summary will be printed out at the end of the run.
|
14
|
-
|
data/help/remove
DELETED
File without changes
|
data/help/repair
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
|
2
|
-
∴ rvm repair {symlinks,environments,archives,all}
|
3
|
-
|
4
|
-
Runs generate repair processes against given parts of rvm.
|
5
|
-
|
6
|
-
Examples:
|
7
|
-
|
8
|
-
To regenerate all of the environment files inside your rvm/environments
|
9
|
-
directory, you'd run:
|
10
|
-
|
11
|
-
∴ rvm repair environments
|
12
|
-
|
13
|
-
To check for stale symlinks caused by rvm in your rvm_bin_path, you'd run:
|
14
|
-
|
15
|
-
∴ rvm repair symlinks
|
16
|
-
|
17
|
-
To verify all downloaded archives have the correct md5, you'd run:
|
18
|
-
|
19
|
-
∴ rvm repair archives
|
20
|
-
|
21
|
-
Or, to do all of the above, you'd run:
|
22
|
-
|
23
|
-
∴ rvm repair all
|
data/help/reset
DELETED
File without changes
|
data/help/ruby
DELETED
@@ -1,84 +0,0 @@
|
|
1
|
-
'rvm ruby'
|
2
|
-
|
3
|
-
Given:
|
4
|
-
|
5
|
-
∴ cat test.rb
|
6
|
-
puts "patchlevel: #{RUBY_PATCHLEVEL}, release_date: #{RUBY_RELEASE_DATE}, ruby_version: #{RUBY_VERSION}, ruby_platform: #{RUBY_PLATFORM}"
|
7
|
-
|
8
|
-
∴ rvm list
|
9
|
-
|
10
|
-
ruby:
|
11
|
-
|
12
|
-
ruby-1.8.6-p383 [x86_64]
|
13
|
-
ruby-1.8.7-p174 [x86_64]
|
14
|
-
ruby-1.9.1-head [x86_64]
|
15
|
-
=> ruby-1.9.1-p243 [x86_64]
|
16
|
-
ruby-1.9.2-preview3 [x86_64]
|
17
|
-
|
18
|
-
jruby:
|
19
|
-
|
20
|
-
jruby-1.3.1 [x86_64]
|
21
|
-
jruby-1.4.0RC3 [x86_64]
|
22
|
-
|
23
|
-
ree:
|
24
|
-
|
25
|
-
ree-1.8.6-20090610 [x86_64]
|
26
|
-
ree-1.8.7-20090928 [x86_64]
|
27
|
-
|
28
|
-
|
29
|
-
We can run the ruby program 'test.rb' against all versions of ruby installed by RVM very simply:
|
30
|
-
|
31
|
-
∴ rvm ruby test.rb
|
32
|
-
|
33
|
-
jruby-1.3.1: jruby 1.3.1 (ruby 1.8.6p287) (2009-06-15 2fd6c3d) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_15) [x86_64-java]
|
34
|
-
|
35
|
-
patchlevel: 287, release_date: 2009-06-15, ruby_version: 1.8.6, ruby_platform: java
|
36
|
-
|
37
|
-
|
38
|
-
jruby-1.4.0RC3: jruby 1.4.0RC3 (ruby 1.8.7 patchlevel 174) (2009-09-30 80c263b) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_15) [x86_64-java]
|
39
|
-
|
40
|
-
patchlevel: 174, release_date: 2009-09-30, ruby_version: 1.8.7, ruby_platform: java
|
41
|
-
|
42
|
-
|
43
|
-
ree-1.8.6-20090610: ruby 1.8.6 (2008-08-11 patchlevel 287) [i686-darwin10.0.0] Ruby Enterprise Edition 20090610
|
44
|
-
|
45
|
-
patchlevel: 287, release_date: 2008-08-11, ruby_version: 1.8.6, ruby_platform: i686-darwin10.0.0
|
46
|
-
|
47
|
-
|
48
|
-
ree-1.8.7-20090928: ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.0.0], MBARI 0x6770, Ruby Enterprise Edition 20090928
|
49
|
-
|
50
|
-
patchlevel: 174, release_date: 2009-06-12, ruby_version: 1.8.7, ruby_platform: i686-darwin10.0.0
|
51
|
-
|
52
|
-
|
53
|
-
ruby-1.8.6-p383: ruby 1.8.6 (2009-08-04 patchlevel 383) [i686-darwin10.0.0]
|
54
|
-
|
55
|
-
patchlevel: 383, release_date: 2009-08-04, ruby_version: 1.8.6, ruby_platform: i686-darwin10.0.0
|
56
|
-
|
57
|
-
|
58
|
-
ruby-1.8.7-p174: ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.0.0]
|
59
|
-
|
60
|
-
patchlevel: 174, release_date: 2009-06-12, ruby_version: 1.8.7, ruby_platform: i686-darwin10.0.0
|
61
|
-
|
62
|
-
|
63
|
-
ruby-1.9.1-head: ruby 1.9.2dev (2009-09-26 trunk 25103) [x86_64-darwin10.0.0]
|
64
|
-
|
65
|
-
patchlevel: -1, release_date: 2009-09-26, ruby_version: 1.9.2, ruby_platform: x86_64-darwin10.0.0
|
66
|
-
|
67
|
-
|
68
|
-
ruby-1.9.1-p243: ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10.0.0]
|
69
|
-
|
70
|
-
patchlevel: 243, release_date: 2009-07-16, ruby_version: 1.9.1, ruby_platform: i386-darwin10.0.0
|
71
|
-
|
72
|
-
|
73
|
-
ruby-1.9.2-preview3: ruby 1.9.2dev (2010-05-31 revision 28117) [x86_64-darwin10.3.0]
|
74
|
-
|
75
|
-
patchlevel: -1, release_date: 2010-05-31, ruby_version: 1.9.2, ruby_platform: x86_64-darwin10.3.0
|
76
|
-
|
77
|
-
ree-1.8.7-20090928: ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.0.0], MBARI 0x6770, Ruby Enterprise Edition 20090928
|
78
|
-
|
79
|
-
patchlevel: 174, release_date: 2009-06-12, ruby_version: 1.8.7, ruby_platform: i686-darwin10.0.0
|
80
|
-
|
81
|
-
If we want we can also restrict the above to a subset of named top level selections:
|
82
|
-
|
83
|
-
∴ rvm 1.9.1,1.8.7,jruby test.rb
|
84
|
-
...
|