gemrage 0.1.1 → 0.1.2
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/Gemfile +2 -0
- data/Gemfile.lock +5 -0
- data/VERSION +1 -1
- data/gemrage.gemspec +148 -3
- data/lib/rubygems/commands/scan_command.rb +77 -4
- data/vendor/ruby/1.8/bin/rvm-install +19 -0
- data/vendor/ruby/1.8/cache/macaddr-1.0.0.gem +0 -0
- data/vendor/ruby/1.8/cache/rvm-1.0.14.gem +0 -0
- data/vendor/ruby/1.8/gems/macaddr-1.0.0/README +33 -0
- data/vendor/ruby/1.8/gems/macaddr-1.0.0/gemspec.rb +27 -0
- data/vendor/ruby/1.8/gems/macaddr-1.0.0/install.rb +210 -0
- data/vendor/ruby/1.8/gems/macaddr-1.0.0/lib/macaddr.rb +69 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/LICENCE +18 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/README +127 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/bin/rvm-install +5 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm +76 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm-auto-ruby +24 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm-prompt +204 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm-shell +35 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm-update-head +35 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm-update-latest +27 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvmsudo +24 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/config/db +71 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/config/known +55 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/config/md5 +87 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/contrib/gemset_snapshot +25 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/contrib/install-system-wide +191 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/contrib/r +44 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/examples/rvmrc +47 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/gemsets/default.gems +1 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/gemsets/global.gems +1 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/alias +46 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/benchmark +17 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/cleanup +23 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/debug +8 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/disk-usage +15 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/docs +22 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/exec +33 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/fetch +5 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/gem +0 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/gemdir +0 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/gemset +0 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/implode +0 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/info +64 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/install +0 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/list +0 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/migrate +15 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/monitor +0 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/notes +0 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/package +0 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/rake +14 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/remove +0 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/repair +23 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/reset +0 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/ruby +84 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/rubygems +11 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/rvmrc +34 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/snapshot +15 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/specs +0 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/srcdir +0 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/tests +0 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/tools +22 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/uninstall +0 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/update +0 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/upgrade +18 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/use +0 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/help/wrapper +41 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/install +631 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/VERSION.yml +4 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/capistrano.rb +45 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/alias.rb +69 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/cleanup.rb +54 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/configuration.rb +60 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/env.rb +52 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/gemset.rb +222 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/info.rb +13 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/list.rb +124 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/rubies.rb +50 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/sets.rb +123 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/tools.rb +68 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/utility.rb +173 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/wrapper.rb +23 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment.rb +64 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/errors.rb +31 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/install_command_dumper.rb +51 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell/abstract_wrapper.rb +145 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell/calculate_rvm_path.sh +26 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell/result.rb +42 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell/shell_wrapper.sh +10 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell/single_shot_wrapper.rb +56 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell/utility.rb +37 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell.rb +25 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/version.rb +19 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm.rb +156 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/man/man1/rvm.1 +385 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/man/man1/rvm.1.gz +0 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/rvm.gemspec +184 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/alias +225 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/aliases +4 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/array +32 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/base +49 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/cd +87 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/cleanup +58 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/cli +781 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/color +49 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/completion +151 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/db +87 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/default +64 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/disk-usage +60 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/docs +115 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/env +46 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/environment-convertor +74 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/fetch +229 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/gemsets +950 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/hash +37 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/help +46 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/hook +23 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/info +214 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/initialize +29 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/install +631 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/irbrc +9 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/irbrc.rb +63 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/list +315 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/log +38 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/maglev +193 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/manage +2094 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/match +6 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/md5 +22 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/migrate +175 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/monitor +105 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/notes +121 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/override_gem +14 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/package +301 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/patches +64 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/patchsets +87 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/repair +199 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/rubygems +157 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/rvm +120 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/rvm-install +631 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/selector +818 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/set +301 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/snapshot +262 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/tools +58 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/update +631 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/upgrade +144 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/utility +1557 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/version +17 -0
- data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/wrapper +210 -0
- data/vendor/ruby/1.8/specifications/macaddr-1.0.0.gemspec +27 -0
- data/vendor/ruby/1.8/specifications/rvm-1.0.14.gemspec +42 -0
- metadata +149 -4
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
#General
|
|
2
|
+
niceness=0
|
|
3
|
+
# Rubies
|
|
4
|
+
interpreter=ruby
|
|
5
|
+
ruby_version=1.8.7
|
|
6
|
+
ruby_configure_flags=--enable-shared
|
|
7
|
+
ruby_patchlevel=299
|
|
8
|
+
ruby_configure=--enable-shared
|
|
9
|
+
ruby_repo_url=http://svn.ruby-lang.org/repos/ruby
|
|
10
|
+
ruby_1.0_url=ftp://ftp.ruby-lang.org/pub/ruby/1.0
|
|
11
|
+
ruby_1.2_url=ftp://ftp.ruby-lang.org/pub/ruby/1.2
|
|
12
|
+
ruby_1.3_url=ftp://ftp.ruby-lang.org/pub/ruby/1.3
|
|
13
|
+
ruby_1.4_url=ftp://ftp.ruby-lang.org/pub/ruby/1.4
|
|
14
|
+
ruby_1.5_url=ftp://ftp.ruby-lang.org/pub/ruby/1.5
|
|
15
|
+
ruby_1.6_url=ftp://ftp.ruby-lang.org/pub/ruby/1.6
|
|
16
|
+
ruby_1.7_url=ftp://ftp.ruby-lang.org/pub/ruby/1.7
|
|
17
|
+
ruby_1.8_url=ftp://ftp.ruby-lang.org/pub/ruby/1.8
|
|
18
|
+
ruby_1.9_url=ftp://ftp.ruby-lang.org/pub/ruby/1.9
|
|
19
|
+
ruby_2.0_url=ftp://ftp.ruby-lang.org/pub/ruby/2.0
|
|
20
|
+
ruby_1.9.1_patch_level=378
|
|
21
|
+
ruby_1.9.2_patch_level=0
|
|
22
|
+
ruby_1.8.5_patch_level=231
|
|
23
|
+
ruby_1.8.6_patch_level=399
|
|
24
|
+
ruby_1.8.7_patch_level=302
|
|
25
|
+
rubygems_version=1.3.7
|
|
26
|
+
rubygems_1.3.5_url=http://rubyforge.org/frs/download.php/60718
|
|
27
|
+
rubygems_1.3.6_url=http://rubyforge.org/frs/download.php/69365
|
|
28
|
+
rubygems_1.3.7_url=http://rubyforge.org/frs/download.php/70696
|
|
29
|
+
rbx_version=1.1.0
|
|
30
|
+
rbx_1.0.0_patch_level=20100514
|
|
31
|
+
rbx_1.0.1_patch_level=20100603
|
|
32
|
+
rbx_1.1.0_patch_level=20100923
|
|
33
|
+
rbx_url=http://asset.rubini.us
|
|
34
|
+
rubinius_repo_url=git://github.com/evanphx/rubinius.git
|
|
35
|
+
http://rubini.us/download/latest
|
|
36
|
+
ree_version=1.8.7
|
|
37
|
+
ree_configure_flags=--dont-install-useful-gems
|
|
38
|
+
ree_1.8.6_patch_level=20090610
|
|
39
|
+
ree_1.8.6_url=http://rubyforge.org/frs/download.php/58677
|
|
40
|
+
ree_1.8.6_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition.git
|
|
41
|
+
ree_1.8.7_url=http://rubyforge.org/frs/download.php/71096
|
|
42
|
+
ree_1.8.7_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition187.git
|
|
43
|
+
ree_1.8.7_patch_level=2010.02
|
|
44
|
+
jruby_version=1.5.3
|
|
45
|
+
jruby_repo_url=git://github.com/jruby/jruby.git
|
|
46
|
+
jruby_url=http://jruby.org.s3.amazonaws.com/downloads
|
|
47
|
+
macruby_version=0.7
|
|
48
|
+
macruby_url=http://www.macruby.org/files
|
|
49
|
+
macruby_repo_url=git://git.macruby.org/macruby/MacRuby.git
|
|
50
|
+
macruby_nightly_url=http://www.macruby.org/files/nightlies/macruby_nightly-latest.pkg
|
|
51
|
+
maglev_version=24209
|
|
52
|
+
maglev_url=http://glass-downloads.gemstone.com/maglev
|
|
53
|
+
maglev_repo_url=git://github.com/MagLev/maglev.git
|
|
54
|
+
shyouhei_repo_url=git://github.com/shyouhei/ruby.git
|
|
55
|
+
ironruby_version=1.0
|
|
56
|
+
ironruby_repo_url=git://github.com/ironruby/ironruby.git
|
|
57
|
+
ironruby_1.0_url=http://rubyforge.org/frs/download.php/70179/
|
|
58
|
+
# Packages
|
|
59
|
+
readline_url=ftp://ftp.gnu.org/gnu/readline
|
|
60
|
+
libiconv_url=http://ftp.gnu.org/pub/gnu/libiconv
|
|
61
|
+
curl_url=http://curl.haxx.se/download
|
|
62
|
+
openssl_url=http://www.openssl.org/source
|
|
63
|
+
zlib_url=http://www.zlib.net
|
|
64
|
+
autoconf_url=ftp.gnu.org/gnu/autoconf
|
|
65
|
+
ncurses_url=http://ftp.gnu.org/pub/gnu/ncurses
|
|
66
|
+
pkg-config_url=http://pkgconfig.freedesktop.org/releases
|
|
67
|
+
gettext_url=ftp://ftp.gnu.org/pub/gnu/gettext
|
|
68
|
+
libxml2_url=ftp://xmlsoft.org/libxml2/
|
|
69
|
+
glib_url=http://ftp.gnome.org/pub/gnome/sources/glib/2.23
|
|
70
|
+
mono_url=http://ftp.novell.com/pub/mono/sources/mono/
|
|
71
|
+
llvm_url=https://llvm.org/svn/llvm-project/llvm/trunk
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# MRI Rubies
|
|
2
|
+
[ruby-]1.8.6[-p399]
|
|
3
|
+
[ruby-]1.8.6-head
|
|
4
|
+
[ruby-]1.8.7[-p302]
|
|
5
|
+
[ruby-]1.8.7-head
|
|
6
|
+
[ruby-]1.9.1-p243
|
|
7
|
+
[ruby-]1.9.1[-p376]
|
|
8
|
+
[ruby-]1.9.1-p429
|
|
9
|
+
[ruby-]1.9.1-head
|
|
10
|
+
[ruby-]1.9.2-preview1
|
|
11
|
+
[ruby-]1.9.2-preview3
|
|
12
|
+
[ruby-]1.9.2-rc1
|
|
13
|
+
[ruby-]1.9.2-rc2
|
|
14
|
+
[ruby-]1.9.2[-p0]
|
|
15
|
+
[ruby-]1.9.2-head
|
|
16
|
+
ruby-head
|
|
17
|
+
|
|
18
|
+
# JRuby
|
|
19
|
+
jruby-1.2.0
|
|
20
|
+
jruby-1.3.1
|
|
21
|
+
jruby-1.4.0
|
|
22
|
+
jruby-1.5.1
|
|
23
|
+
jruby-1.5.2
|
|
24
|
+
jruby[-1.5.3]
|
|
25
|
+
jruby-head
|
|
26
|
+
|
|
27
|
+
# Rubinius
|
|
28
|
+
rbx-1.0.1
|
|
29
|
+
rbx[-1.1.0]
|
|
30
|
+
rbx-head
|
|
31
|
+
|
|
32
|
+
# Ruby Enterprise Edition
|
|
33
|
+
ree-1.8.6
|
|
34
|
+
ree[-1.8.7]
|
|
35
|
+
ree-1.8.6-head
|
|
36
|
+
ree-1.8.7-head
|
|
37
|
+
|
|
38
|
+
# MagLev
|
|
39
|
+
maglev[-24209]
|
|
40
|
+
maglev-head
|
|
41
|
+
|
|
42
|
+
# Shyouhei head, the default mput
|
|
43
|
+
mput[-head]
|
|
44
|
+
|
|
45
|
+
# Mac OS X Snow Leopard Only
|
|
46
|
+
macruby-0.6
|
|
47
|
+
macruby-[0.7] # the default macruby
|
|
48
|
+
macruby-nightly
|
|
49
|
+
macruby-head # Build from the macruby git repository
|
|
50
|
+
|
|
51
|
+
# IronRuby -- Not implemented yet.
|
|
52
|
+
ironruby-0.9.3
|
|
53
|
+
ironruby-1.0-rc2
|
|
54
|
+
ironruby-head
|
|
55
|
+
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
rubinius-1.0.0-rc1-20091125.tar.gz=c1cf037f05caf1bc962c09e220b435f4
|
|
2
|
+
rubinius-1.0.0-rc4-20100331.tar.gz=c631131cc9542c548b4fc3791d8aa6b2
|
|
3
|
+
rubinius-1.0.0-rc5-20100510.tar.gz=d4fbb5b01aaeee3948cbe1cd38236524
|
|
4
|
+
rubinius-1.0.0-20100514.tar.gz=b05f4e791d3712c5a50b3d210dac6eb0
|
|
5
|
+
rubinius-1.0.1-20100603.tar.gz=eb185703c7ae0c0210e8dcb7f783ee8e
|
|
6
|
+
rubinius-1.1.0-20100923.tar.gz=e2ae16238b201de09975abe19da09ea9
|
|
7
|
+
ruby-1.8.5-p115.tar.gz=20ca6cc87eb077296806412feaac0356
|
|
8
|
+
ruby-1.8.5-p231.tar.gz=e900cf225d55414bffe878f00a85807c
|
|
9
|
+
ruby-1.8.6-p286.tar.gz=797ea136fe43e4286c9362ee4516674e
|
|
10
|
+
ruby-1.8.6-p287.tar.gz=6ff3420094711266c3201a0c7c2faa38
|
|
11
|
+
ruby-1.8.6-p369.tar.gz=8c140ae28b4c3947b92dfad69109d90b
|
|
12
|
+
ruby-1.8.6-p383.tar.gz=4f49544d4a4d0d34e9d86c41e853db2e
|
|
13
|
+
ruby-1.8.6-p398.tar.gz=736db5f56c2d9b0136e563d049249fa8
|
|
14
|
+
ruby-1.8.6-p399.tar.gz=c3d16cdd3c1ee8f3b7d1c399d4884e33
|
|
15
|
+
ruby-1.8.7-p160.tar.gz=945398f97e2de6dd8ab6df68d10bb1a1
|
|
16
|
+
ruby-1.8.7-p174.tar.gz=18dcdfef761a745ac7da45b61776afa5
|
|
17
|
+
ruby-1.8.7-p248.tar.gz=60a65374689ac8b90be54ca9c61c48e3
|
|
18
|
+
ruby-1.8.7-p249.tar.gz=d7db7763cffad279952eb7e9bbfc221c
|
|
19
|
+
ruby-1.8.7-p299.tar.gz=43533980ee0ea57381040d4135cf9677
|
|
20
|
+
ruby-1.8.7-p302.tar.gz=a6a9e37079ed8cf8726b455dad3de939
|
|
21
|
+
ruby-1.9.1-p129.tar.gz=c71f413514ee6341c627be2957023a5c
|
|
22
|
+
ruby-1.9.1-p243.tar.gz=515bfd965814e718c0943abf3dde5494
|
|
23
|
+
ruby-1.9.1-p376.tar.gz=ebb20550a11e7f1a2fbd6fdec2a3e0a3
|
|
24
|
+
ruby-1.9.1-p376.tar.gz=ebb20550a11e7f1a2fbd6fdec2a3e0a3
|
|
25
|
+
ruby-1.9.1-p378.tar.gz=9fc5941bda150ac0a33b299e1e53654c
|
|
26
|
+
ruby-1.9.1-p429.tar.gz=0f6d7630f26042e00bc59875755cf879
|
|
27
|
+
ruby-1.9.2-preview1.tar.gz=e2b8cdbf300f53472be09699a5837fd1
|
|
28
|
+
ruby-1.9.2-preview3.tar.gz=209e59f3495a5503fa948c2732f1d705
|
|
29
|
+
ruby-1.9.2-rc1.tar.gz=fdedd5b42ae89a9a46797823ad2d9acf
|
|
30
|
+
ruby-1.9.2-rc2.tar.gz=d12cd39eee4d99bc54b52aba5a0ba4e1
|
|
31
|
+
ruby-1.9.2-p0.tar.gz=755aba44607c580fddc25e7c89260460
|
|
32
|
+
ruby-1.8.5-p115.tar.bz2=03955e3c367b9beb3efe144c9f00d689
|
|
33
|
+
ruby-1.8.5-p231.tar.bz2=327f5aa6573787432222e96195cffd1e
|
|
34
|
+
ruby-1.8.6-p286.tar.bz2=e6b6bf8f34370e433936adb7a7065e63
|
|
35
|
+
ruby-1.8.6-p287.tar.bz2=80b5f3db12531d36e6c81fac6d05dda9
|
|
36
|
+
ruby-1.8.6-p369.tar.bz2=c3c1f3dd0dfbd2e17a04e59c2f12cfc8
|
|
37
|
+
ruby-1.8.6-p383.tar.bz2=a48703cd982b9f0e3002700a50b0e88e
|
|
38
|
+
ruby-1.8.6-p398.tar.bz2=fbd43dc44ee26be4d37e6bebbed6f8bd
|
|
39
|
+
ruby-1.8.6-p399.tar.bz2=f77c307cb72fb8808b0e85af5d05cefc
|
|
40
|
+
ruby-1.8.7-p160.tar.bz2=f8ddb886b8a81cf005f53e9a9541091d
|
|
41
|
+
ruby-1.8.7-p174.tar.bz2=88c45aaf627b4404e5e4273cb03ba2ee
|
|
42
|
+
ruby-1.8.7-p248.tar.bz2=37e19d46b7d4b845f57d3389084b94a6
|
|
43
|
+
ruby-1.8.7-p249.tar.bz2=37200cc956a16996bbfd25bb4068f242
|
|
44
|
+
ruby-1.8.7-p299.tar.bz2=244439a87d75ab24170a9c2b451ce351
|
|
45
|
+
ruby-1.8.7-p302.tar.bz2=a6a9e37079ed8cf8726b455dad3de939
|
|
46
|
+
ruby-1.9.1-p129.tar.bz2=6fa62b20f72da471195830dec4eb2013
|
|
47
|
+
ruby-1.9.1-p243.tar.bz2=66d4f8403d13623051091347764881a0
|
|
48
|
+
ruby-1.9.1-p376.tar.bz2=e019ae9c643c5efe91be49e29781fb94
|
|
49
|
+
ruby-1.9.1-p376.tar.bz2=e019ae9c643c5efe91be49e29781fb94
|
|
50
|
+
ruby-1.9.1-p378.tar.bz2=5922459622a23612eb9b68a3586cb5f8
|
|
51
|
+
ruby-1.9.1-p429.tar.bz2=09df32ae51b6337f7a2e3b1909b26213
|
|
52
|
+
ruby-1.9.2-preview1.tar.bz2=0b8f27ea78afcdc54d5d23e569aa0150
|
|
53
|
+
ruby-1.9.2-preview3.tar.bz2=19225dceacaac49ddc1664e593af54ac
|
|
54
|
+
ruby-1.9.2-rc1.tar.bz2=242dcfaed8359a6918941b55d0806bf0
|
|
55
|
+
ruby-1.9.2-rc2.tar.bz2=4e4906d0aab711286b31f5a834860cc3
|
|
56
|
+
ruby-1.9.2-p0.tar.bz2=d8a02cadf57d2571cd4250e248ea7e4b
|
|
57
|
+
ruby-enterprise-1.8.6-20090610.tar.gz=0bf66ee626918464a6eccdd83c99d63a
|
|
58
|
+
ruby-enterprise-1.8.7-2009.10.tar.gz=3727eef7b6b1b2f31db7d091328d966e
|
|
59
|
+
ruby-enterprise-1.8.7-20090928.tar.gz=ae00018ce89d95419dfde370fcd485ac
|
|
60
|
+
ruby-enterprise-1.8.7-2010.02.tar.gz=4df7b09c01adfd711b0ab76837611542
|
|
61
|
+
rubygems-1.3.5.tgz=6e317335898e73beab15623cdd5f8cff
|
|
62
|
+
rubygems-1.3.6.tgz=789ca8e9ad1d4d3fe5f0534fcc038a0d
|
|
63
|
+
rubygems-1.3.7.tgz=e85cfadd025ff6ab689375adbf344bbe
|
|
64
|
+
MacRuby%200.5.zip=675454a8c7bc19d606d90a726e08427c
|
|
65
|
+
MacRuby%200.6.zip=a80afd3700c88cf95c539fc63b272faf
|
|
66
|
+
MacRuby%200.7.zip=0bb60588c9ec9b1517665743bb05132f
|
|
67
|
+
jruby-bin-1.3.1.tar.gz=4a95db8fc93ed7219663fbede98b6117
|
|
68
|
+
jruby-bin-1.4.0.tar.gz=f37322c18e9134e91e064aebb4baa4c7
|
|
69
|
+
jruby-bin-1.5.0.RC1.tar.gz=47b4ca2a21659d36a2775ade0a2534c4
|
|
70
|
+
jruby-bin-1.5.0.RC3.tar.gz=9c2758600de903b8ca07cb1341f4f1b3
|
|
71
|
+
jruby-bin-1.5.0.tar.gz=ee2b4e326e8b87858e5dd0c8e94102e6
|
|
72
|
+
jruby-bin-1.5.1.tar.gz=0196dcfb17354f12253eaddc1166a0ee
|
|
73
|
+
jruby-bin-1.5.2.tar.gz=d239deb9a108a6abbfbd6cb79cf8255b
|
|
74
|
+
jruby-bin-1.5.3.tar.gz=ccb0b2dbc300d8dd4ad1bd4da48b8320
|
|
75
|
+
libiconv-1.13.1.tar.gz=7ab33ebd26687c744a37264a330bbe9a
|
|
76
|
+
ncurses.tar.gz=cce05daf61a64501ef6cd8da1f727ec6
|
|
77
|
+
openssl-0.9.8k.tar.gz=e555c6d58d276aec7fdc53363e338ab3
|
|
78
|
+
readline-5.2.tar.gz=e39331f32ad14009b9ff49cc10c5e751
|
|
79
|
+
readline-6.0.tar.gz=b7f65a48add447693be6e86f04a63019
|
|
80
|
+
zlib-1.2.3.tar.gz=debc62758716a169df9f62e6ab2bc634
|
|
81
|
+
curl-7.19.7.tar.gz=ecb2e37e45c9933e2a963cabe03670ab
|
|
82
|
+
pkg-config-0.23.tar.gz=d922a88782b64441d06547632fd85744
|
|
83
|
+
ironruby-1.0.zip=7a92888837b3507355ed391dbfc0ab83
|
|
84
|
+
GemStone-24209.Darwin-i386.tar.gz=be17189f4a4a65622d8c3b8261091575
|
|
85
|
+
GemStone-24209.Linux-x86_64.tar.gz=bab53507337aafc0f118b4eb097831e0
|
|
86
|
+
MagLev-24209.Darwin-i386.tar.gz=93fd5b2d31e9a19dc49065ec8755a87f
|
|
87
|
+
MagLev-24209.Linux-x86_64.tar.gz=ecb1c6a94e5b272d7595e6aee673c668
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
printf "\nBeginning snapshot of the current environment gem list into snapshot.gems\n"
|
|
4
|
+
|
|
5
|
+
file_name="snapshot.gems"
|
|
6
|
+
|
|
7
|
+
gems=($(gem list | sed 's#[\(|\)]##g' | sed 's#, #,#g' | \tr ' ' ';'))
|
|
8
|
+
|
|
9
|
+
for gem in "${gems[@]}" ; do
|
|
10
|
+
|
|
11
|
+
name="$(echo $gem | awk -F';' '{print $1}')"
|
|
12
|
+
|
|
13
|
+
versions=($(echo $gem | awk -F';' '{print $2}' | sed 's#,# #g'))
|
|
14
|
+
|
|
15
|
+
for version in "${versions[@]}" ; do
|
|
16
|
+
|
|
17
|
+
echo "$name -v$version" >> "$file_name"
|
|
18
|
+
|
|
19
|
+
done ; unset version versions
|
|
20
|
+
|
|
21
|
+
done ; unset file_name
|
|
22
|
+
|
|
23
|
+
printf "\nCompleted snapshot of the current environment gem list into snapshot.gems\n"
|
|
24
|
+
|
|
25
|
+
exit $?
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
usage() {
|
|
4
|
+
printf "
|
|
5
|
+
|
|
6
|
+
Usage:
|
|
7
|
+
|
|
8
|
+
rvm-install-system-wide [options]
|
|
9
|
+
|
|
10
|
+
Options:
|
|
11
|
+
|
|
12
|
+
--trace - Run turn on bash xtrace while the script runs.
|
|
13
|
+
--debug - Turn on bash verbose while the script runs.
|
|
14
|
+
--version X - Install RVM version X
|
|
15
|
+
--revision X - Install RVM revision X (sha1)
|
|
16
|
+
--help - Display this usage text.
|
|
17
|
+
|
|
18
|
+
"
|
|
19
|
+
return 0
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
__rvm_system_wide_permissions() {
|
|
23
|
+
[[ -z "$1" ]] && return 1
|
|
24
|
+
|
|
25
|
+
chown -R root:"$rvm_group_name" "$1"
|
|
26
|
+
|
|
27
|
+
chmod -R g+w "$1"
|
|
28
|
+
|
|
29
|
+
if [[ -d "$1" ]] ; then
|
|
30
|
+
find "$1" -type d -print0 | xargs -n1 -0 chmod g+s
|
|
31
|
+
fi
|
|
32
|
+
|
|
33
|
+
return 0
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
__rvm_create_user_group() {
|
|
37
|
+
[[ -z "$1" ]] && return 1
|
|
38
|
+
|
|
39
|
+
if \grep -q "$1" /etc/group ; then
|
|
40
|
+
echo "Group '$1' exists, proceeding with installation."
|
|
41
|
+
else
|
|
42
|
+
echo "Creating the group '$1'"
|
|
43
|
+
|
|
44
|
+
case "$os_type" in
|
|
45
|
+
"FreeBSD") pw groupadd -q "$rvm_group_name";;
|
|
46
|
+
"Linux") groupadd -f "$rvm_group_name";;
|
|
47
|
+
esac
|
|
48
|
+
fi
|
|
49
|
+
|
|
50
|
+
return 0
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
__rvm_add_user_to_group() {
|
|
54
|
+
[[ -z "$1" || -z "$2" ]] && return 1
|
|
55
|
+
|
|
56
|
+
echo "Adding '$1' to the group '$2'"
|
|
57
|
+
|
|
58
|
+
case "$os_type" in
|
|
59
|
+
"FreeBSD") pw usermod "$1" -G "$2";;
|
|
60
|
+
"Linux") usermod -a -G "$2" "$1";;
|
|
61
|
+
esac
|
|
62
|
+
|
|
63
|
+
return 0
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
os_type="$(uname)"
|
|
67
|
+
|
|
68
|
+
# Require root to install it.
|
|
69
|
+
if [[ "$(whoami)" != "root" ]]; then
|
|
70
|
+
echo "Please rerun this installer as root." >&2
|
|
71
|
+
exit 1
|
|
72
|
+
|
|
73
|
+
# Check for the presence of git.
|
|
74
|
+
elif [[ -z "$(command -v git)" ]] ; then
|
|
75
|
+
echo "Please ensure git is installed and available in PATH to continue." >&2
|
|
76
|
+
exit 1
|
|
77
|
+
|
|
78
|
+
elif [[ "$os_type" != "Linux" && "$os_type" != "FreeBSD" ]]; then
|
|
79
|
+
echo "The rvm system wide installer currently only supports Linux and FreeBSD." >&2
|
|
80
|
+
exit 1
|
|
81
|
+
fi
|
|
82
|
+
|
|
83
|
+
while [[ $# -gt 0 ]] ; do
|
|
84
|
+
case $1 in
|
|
85
|
+
--trace)
|
|
86
|
+
rvm_trace_flag=1
|
|
87
|
+
set -o xtrace
|
|
88
|
+
;;
|
|
89
|
+
--debug)
|
|
90
|
+
rvm_trace_flag=1
|
|
91
|
+
set -o verbose
|
|
92
|
+
;;
|
|
93
|
+
--version|--revision)
|
|
94
|
+
if [[ -n "${2:-""}" ]] ; then
|
|
95
|
+
revision="$2"
|
|
96
|
+
shift
|
|
97
|
+
else
|
|
98
|
+
usage
|
|
99
|
+
exit 1
|
|
100
|
+
fi
|
|
101
|
+
;;
|
|
102
|
+
--help)
|
|
103
|
+
usage
|
|
104
|
+
exit 0
|
|
105
|
+
;;
|
|
106
|
+
*)
|
|
107
|
+
usage
|
|
108
|
+
exit 1
|
|
109
|
+
;;
|
|
110
|
+
esac
|
|
111
|
+
shift
|
|
112
|
+
done
|
|
113
|
+
|
|
114
|
+
# Load the rvm config.
|
|
115
|
+
rvm_ignore_rvmrc=${rvm_ignore_rvmrc:-0}
|
|
116
|
+
if [[ $rvm_ignore_rvmrc -eq 0 ]]; then
|
|
117
|
+
[[ -s /etc/rvmrc ]] && source /etc/rvmrc
|
|
118
|
+
[[ -s "$HOME/.rvmrc" ]] && source "$HOME/.rvmrc"
|
|
119
|
+
fi
|
|
120
|
+
|
|
121
|
+
rvm_path="${rvm_path:-"/usr/local/rvm"}"
|
|
122
|
+
export rvm_selfcontained=0
|
|
123
|
+
|
|
124
|
+
rvm_group_name="${rvm_group_name:-"rvm"}"
|
|
125
|
+
|
|
126
|
+
__rvm_create_user_group "$rvm_group_name"
|
|
127
|
+
__rvm_add_user_to_group "$(whoami)" "$rvm_group_name"
|
|
128
|
+
|
|
129
|
+
echo "Creating the destination dir and making sure the permissions are correct"
|
|
130
|
+
mkdir -p "$rvm_path"
|
|
131
|
+
__rvm_system_wide_permissions "$rvm_path"
|
|
132
|
+
|
|
133
|
+
mkdir -p "$rvm_path/src/"
|
|
134
|
+
builtin cd "$rvm_path/src"
|
|
135
|
+
|
|
136
|
+
rm -rf ./rvm/
|
|
137
|
+
|
|
138
|
+
git clone --depth 1 git://github.com/wayneeseguin/rvm.git || git clone http://github.com/wayneeseguin/rvm.git
|
|
139
|
+
|
|
140
|
+
builtin cd rvm
|
|
141
|
+
|
|
142
|
+
if [[ "${revision:-""}" ]]; then
|
|
143
|
+
echo "Checking out revision $revision"
|
|
144
|
+
git checkout $revision
|
|
145
|
+
fi
|
|
146
|
+
|
|
147
|
+
echo "Running the install script."
|
|
148
|
+
bash ./scripts/install "$@"
|
|
149
|
+
|
|
150
|
+
__rvm_system_wide_permissions "$rvm_path"
|
|
151
|
+
|
|
152
|
+
echo "Setting up group permissions"
|
|
153
|
+
rvm_parent_dir="$(dirname "$rvm_path")"
|
|
154
|
+
for dir in bin share/man; do
|
|
155
|
+
__rvm_system_wide_permissions "$rvm_parent_dir/$dir"
|
|
156
|
+
done; unset dir
|
|
157
|
+
|
|
158
|
+
echo "Generating system wide rvmrc"
|
|
159
|
+
rm -f /etc/rvmrc
|
|
160
|
+
touch /etc/rvmrc
|
|
161
|
+
cat > /etc/rvmrc <<END_OF_RVMRC
|
|
162
|
+
# Setup default configuration for rvm.
|
|
163
|
+
# If an rvm install exists in the home directory, don't load this.'
|
|
164
|
+
if [[ ! -s "\$HOME/.rvm/scripts/rvm" ]]; then
|
|
165
|
+
umask g+w
|
|
166
|
+
export rvm_selfcontained=0
|
|
167
|
+
export rvm_prefix="$rvm_parent_dir/"
|
|
168
|
+
fi
|
|
169
|
+
END_OF_RVMRC
|
|
170
|
+
|
|
171
|
+
echo "Generating $rvm_parent_dir/lib/rvm to load rvm"
|
|
172
|
+
rm -f "$rvm_parent_dir/lib/rvm"
|
|
173
|
+
touch "$rvm_parent_dir/lib/rvm"
|
|
174
|
+
cat > "$rvm_parent_dir/lib/rvm" <<END_OF_RVM_SH
|
|
175
|
+
# Automatically source rvm
|
|
176
|
+
if [[ -s "\$HOME/.rvm/scripts/rvm" ]]; then
|
|
177
|
+
source "\$HOME/.rvm/scripts/rvm"
|
|
178
|
+
elif [[ -s "/usr/local/rvm/scripts/rvm" ]]; then
|
|
179
|
+
source "/usr/local/rvm/scripts/rvm"
|
|
180
|
+
fi
|
|
181
|
+
END_OF_RVM_SH
|
|
182
|
+
|
|
183
|
+
echo "Correct permissions on rvmrc and the rvm loader"
|
|
184
|
+
# Finally, ensure the rvmrc is owned by the group.
|
|
185
|
+
for file in /etc/rvmrc "$rvm_parent_dir/lib/rvm" ; do
|
|
186
|
+
__rvm_system_wide_permissions "$file"
|
|
187
|
+
done; unset file
|
|
188
|
+
|
|
189
|
+
echo "RVM is now installed. To use, source '$rvm_parent_dir/lib/rvm' to your shell profile."
|
|
190
|
+
|
|
191
|
+
unset rvm_parent_dir
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
rake
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
rake
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
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/
|
|
@@ -0,0 +1,23 @@
|
|
|
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.
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
|
@@ -0,0 +1,22 @@
|
|
|
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.
|