rvm 1.1.4 → 1.1.5

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.
Files changed (112) hide show
  1. data/lib/VERSION.yml +1 -1
  2. data/lib/rvm/environment.rb +1 -1
  3. data/lib/rvm/shell/shell_wrapper.sh +1 -1
  4. data/rvm.gemspec +3 -110
  5. metadata +4 -111
  6. data/binscripts/rvm +0 -76
  7. data/binscripts/rvm-auto-ruby +0 -24
  8. data/binscripts/rvm-prompt +0 -208
  9. data/binscripts/rvm-shell +0 -35
  10. data/binscripts/rvm-update-head +0 -58
  11. data/binscripts/rvm-update-latest +0 -27
  12. data/binscripts/rvmsudo +0 -20
  13. data/config/db +0 -71
  14. data/config/known +0 -54
  15. data/config/md5 +0 -139
  16. data/contrib/gemset_snapshot +0 -25
  17. data/contrib/install-system-wide +0 -221
  18. data/contrib/r +0 -44
  19. data/examples/rvmrc +0 -49
  20. data/gemsets/default.gems +0 -1
  21. data/gemsets/global.gems +0 -1
  22. data/help/alias +0 -46
  23. data/help/benchmark +0 -17
  24. data/help/cleanup +0 -23
  25. data/help/debug +0 -8
  26. data/help/disk-usage +0 -15
  27. data/help/docs +0 -22
  28. data/help/exec +0 -33
  29. data/help/fetch +0 -5
  30. data/help/gem +0 -0
  31. data/help/gemdir +0 -0
  32. data/help/gemset +0 -14
  33. data/help/implode +0 -0
  34. data/help/info +0 -62
  35. data/help/install +0 -0
  36. data/help/list +0 -0
  37. data/help/migrate +0 -15
  38. data/help/monitor +0 -0
  39. data/help/notes +0 -0
  40. data/help/package +0 -0
  41. data/help/rake +0 -14
  42. data/help/remove +0 -0
  43. data/help/repair +0 -23
  44. data/help/reset +0 -0
  45. data/help/ruby +0 -84
  46. data/help/rubygems +0 -11
  47. data/help/rvmrc +0 -34
  48. data/help/snapshot +0 -15
  49. data/help/specs +0 -0
  50. data/help/srcdir +0 -0
  51. data/help/tests +0 -0
  52. data/help/tools +0 -22
  53. data/help/uninstall +0 -0
  54. data/help/update +0 -0
  55. data/help/upgrade +0 -18
  56. data/help/use +0 -0
  57. data/help/wrapper +0 -41
  58. data/install +0 -667
  59. data/man/man1/rvm.1 +0 -380
  60. data/man/man1/rvm.1.gz +0 -0
  61. data/scripts/alias +0 -226
  62. data/scripts/aliases +0 -4
  63. data/scripts/array +0 -32
  64. data/scripts/base +0 -57
  65. data/scripts/cd +0 -94
  66. data/scripts/cleanup +0 -58
  67. data/scripts/cli +0 -798
  68. data/scripts/color +0 -49
  69. data/scripts/completion +0 -151
  70. data/scripts/db +0 -87
  71. data/scripts/default +0 -64
  72. data/scripts/disk-usage +0 -60
  73. data/scripts/docs +0 -115
  74. data/scripts/env +0 -46
  75. data/scripts/environment-convertor +0 -74
  76. data/scripts/fetch +0 -231
  77. data/scripts/gemsets +0 -1045
  78. data/scripts/get +0 -126
  79. data/scripts/hash +0 -37
  80. data/scripts/help +0 -46
  81. data/scripts/hook +0 -23
  82. data/scripts/info +0 -213
  83. data/scripts/initialize +0 -29
  84. data/scripts/install +0 -667
  85. data/scripts/irbrc +0 -13
  86. data/scripts/irbrc.rb +0 -64
  87. data/scripts/list +0 -315
  88. data/scripts/log +0 -38
  89. data/scripts/maglev +0 -193
  90. data/scripts/manage +0 -2157
  91. data/scripts/match +0 -6
  92. data/scripts/md5 +0 -22
  93. data/scripts/migrate +0 -175
  94. data/scripts/monitor +0 -105
  95. data/scripts/notes +0 -140
  96. data/scripts/override_gem +0 -14
  97. data/scripts/package +0 -302
  98. data/scripts/patches +0 -64
  99. data/scripts/patchsets +0 -87
  100. data/scripts/repair +0 -199
  101. data/scripts/rubygems +0 -157
  102. data/scripts/rvm +0 -128
  103. data/scripts/rvm-install +0 -667
  104. data/scripts/selector +0 -904
  105. data/scripts/set +0 -301
  106. data/scripts/snapshot +0 -262
  107. data/scripts/tools +0 -58
  108. data/scripts/update +0 -667
  109. data/scripts/upgrade +0 -144
  110. data/scripts/utility +0 -1499
  111. data/scripts/version +0 -17
  112. data/scripts/wrapper +0 -210
@@ -1,35 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- __rvm_shell_lookup_script() {
4
- local relative_scripts_dir
5
- relative_scripts_dir="$(dirname -- "$(dirname -- "$0")")/scripts"
6
- for directory in "$rvm_path/scripts" "$HOME/.rvm/scripts" "/usr/local/rvm/scripts" "$relative_scripts_dir"; do
7
- if [[ -d "$directory" && -s "$directory/rvm" ]]; then
8
- echo "$directory/rvm"
9
- return
10
- fi
11
- done
12
- }
13
-
14
- # If the first argument isn't -c, remove it and set it to the ruby string value.
15
- if [[ -n "$1" && ! -f "$1" && -n "$(echo "$1" | \grep -v '^-')" ]]; then
16
- rvm_shell_ruby_string="$1"
17
- shift
18
- fi
19
-
20
- rvm_shell_rvm_path="$(__rvm_shell_lookup_script)"
21
- if [[ -n "$rvm_shell_rvm_path" ]]; then
22
- source "$rvm_shell_rvm_path"
23
- # Setup as expected.
24
- if [[ -n "$rvm_shell_ruby_string" ]]; then
25
- rvm "$rvm_shell_ruby_string"
26
- if [[ "$?" -gt 0 ]]; then
27
- echo "Error: RVM was unable to use '$rvm_shell_ruby_string'" 1>&2
28
- exit 1
29
- fi
30
- else
31
- rvm rvmrc load >/dev/null 2>&1
32
- fi
33
- fi
34
-
35
- exec bash "$@"
@@ -1,58 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- set -o errtrace
4
- set -o errexit
5
-
6
- export PS4='+[${BASH_SOURCE}] : ${LINENO} : ${FUNCNAME[0]:+${FUNCNAME[0]}() $ }'
7
-
8
- if [[ ${rvm_ignore_rvmrc:-0} -eq 0 ]]; then
9
- for file in /etc/rvmrc "$HOME/.rvmrc" ; do
10
- if [[ -s "$file" ]] ; then
11
- source $file
12
- fi
13
- done
14
- fi
15
-
16
- rvm_path="${rvm_path:-"$HOME/.rvm"}"
17
-
18
- if [[ ! -d "$rvm_path/src" ]] ; then
19
- mkdir -p "$rvm_path/src/"
20
- fi
21
-
22
- builtin cd "$rvm_path/src"
23
-
24
- if [[ -d ./rvm ]] ; then
25
- rm -rf ./rvm/
26
- fi
27
-
28
- http_url="http://github.com/wayneeseguin/rvm.git"
29
-
30
- if ! git clone "$http_url" ; then
31
-
32
- printf "
33
- ERROR: Cloning from $http_url failed,
34
- perhaps your git version does not support the http protocol?
35
- Trying git:// protocol now.
36
- "
37
-
38
- git_url="git://github.com/wayneeseguin/rvm.git"
39
-
40
- if ! git clone "$git_url" ; then
41
-
42
- printf "
43
- ERROR: Cloning from $git_url failed, out of ideas... halting.
44
- "
45
-
46
- exit 1
47
-
48
- fi
49
-
50
- fi
51
-
52
- builtin cd rvm
53
-
54
- chmod +x "$PWD/scripts/install"
55
-
56
- exec "$PWD/scripts/install"
57
-
58
- exit $?
@@ -1,27 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- rvm_ignore_rvmrc=${rvm_ignore_rvmrc:-0}
4
- if [[ $rvm_ignore_rvmrc -eq 0 ]]; then
5
- [[ -s /etc/rvmrc ]] && source /etc/rvmrc
6
- [[ -s "$HOME/.rvmrc" ]] && source "$HOME/.rvmrc"
7
- fi
8
-
9
- rvm_path="${rvm_path:-$HOME/.rvm}"
10
- \mkdir -p $rvm_path/src/
11
- cd $rvm_path/src
12
-
13
- stable_version=$(curl -B http://rvm.beginrescueend.com/releases/stable-version.txt 2>/dev/null)
14
-
15
- echo "rvm-${stable_version}"
16
-
17
- curl -L "http://rvm.beginrescueend.com/releases/rvm-${stable_version}.tar.gz" -o "rvm-${stable_version}.tar.gz"
18
-
19
- tar zxf "rvm-${stable_version}.tar.gz"
20
-
21
- cd "rvm-${stable_version}"
22
-
23
- # v v v This is a godo idea however it does not preserve the executible bit.
24
- # Needs more thought, perhaps a simple sed instead.
25
- #dos2unix scripts/* >/dev/null 2>&1
26
-
27
- bash scripts/install
@@ -1,20 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- case "$1" in
4
- --trace) set -o xtrace ; shift ;;
5
- --verbose) set -o verbose ; shift ;;
6
- esac
7
-
8
- prefix="PATH='$PATH'"
9
-
10
- if [[ -n "${GEM_HOME:-""}" ]] ; then
11
- prefix="GEM_HOME='$GEM_HOME' $prefix"
12
- fi
13
-
14
- if [[ -n "${GEM_PATH:-""}" ]] ; then
15
- prefix="GEM_PATH='$GEM_PATH' $prefix"
16
- fi
17
-
18
- eval "sudo /usr/bin/env $prefix $@"
19
-
20
- exit $?
data/config/db DELETED
@@ -1,71 +0,0 @@
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://rvm.beginrescueend.com/src/
29
- rbx_version=head
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_1.1.1_patch_level=20101116
34
- rbx_url=http://asset.rubini.us
35
- rubinius_repo_url=git://github.com/evanphx/rubinius.git
36
- http://rubini.us/download/latest
37
- ree_version=1.8.7
38
- ree_configure_flags=--dont-install-useful-gems
39
- ree_1.8.6_patch_level=20090610
40
- ree_1.8.6_url=http://rubyforge.org/frs/download.php/58677
41
- ree_1.8.6_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition.git
42
- ree_1.8.7_url=http://rvm.beginrescueend.com/src/
43
- ree_1.8.7_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition187.git
44
- ree_1.8.7_patch_level=2010.02
45
- jruby_version=1.5.6
46
- jruby_repo_url=git://github.com/jruby/jruby.git
47
- jruby_url=http://jruby.org.s3.amazonaws.com/downloads
48
- macruby_version=0.7.1
49
- macruby_url=http://www.macruby.org/files
50
- macruby_repo_url=git://git.macruby.org/macruby/MacRuby.git
51
- macruby_nightly_url=http://www.macruby.org/files/nightlies/macruby_nightly-latest.pkg
52
- maglev_version=24566
53
- maglev_url=http://glass-downloads.gemstone.com/maglev
54
- maglev_repo_url=git://github.com/MagLev/maglev.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
@@ -1,54 +0,0 @@
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
- # GoRuby
19
- goruby
20
-
21
- # JRuby
22
- jruby-1.2.0
23
- jruby-1.3.1
24
- jruby-1.4.0
25
- jruby-[1.5.6]
26
- jruby-head
27
-
28
- # Rubinius
29
- rbx-1.0.1
30
- rbx-1.1.0
31
- rbx-1.1.1
32
- rbx[-head]
33
-
34
- # Ruby Enterprise Edition
35
- ree-1.8.6
36
- ree[-1.8.7]
37
- ree-1.8.6-head
38
- ree-1.8.7-head
39
-
40
- # MagLev
41
- maglev[-24566]
42
- maglev-head
43
-
44
- # Mac OS X Snow Leopard Only
45
- macruby-0.6
46
- macruby-[0.7.1] # the default macruby
47
- macruby-nightly
48
- macruby-head # Build from the macruby git repository
49
-
50
- # IronRuby -- Not implemented yet.
51
- ironruby-0.9.3
52
- ironruby-1.0-rc2
53
- ironruby-head
54
-
data/config/md5 DELETED
@@ -1,139 +0,0 @@
1
- GemStone-24566.Darwin-i386.tar.gz=2cbde6a9d498d350191ef8621a928fa1
2
- GemStone-24566.Linux-x86_64.tar.gz=fe0c71ad2043742a9c7d2ddc6d9f5e10
3
- MagLev-24566.Darwin-i386.tar.gz=45956e388aa928f513b613dde677a658
4
- MagLev-24566.Linux-x86_64.tar.gz=8e5e05757f6fee215530afc2c88ceb84
5
- MacRuby%200.5.zip=675454a8c7bc19d606d90a726e08427c
6
- MacRuby%200.6.zip=a80afd3700c88cf95c539fc63b272faf
7
- MacRuby%200.7.1.zip=e8245dcd03c0757dfae7e6fee913947a
8
- MacRuby%200.7.zip=0bb60588c9ec9b1517665743bb05132f
9
- curl-7.19.7.tar.gz=ecb2e37e45c9933e2a963cabe03670ab
10
- ironruby-1.0.zip=7a92888837b3507355ed391dbfc0ab83
11
- jruby-bin-1.3.1.tar.gz=4a95db8fc93ed7219663fbede98b6117
12
- jruby-bin-1.4.0.tar.gz=f37322c18e9134e91e064aebb4baa4c7
13
- jruby-bin-1.4.0.zip=3a9c8a5115a679da7d7a49a56d57d4c0
14
- jruby-bin-1.4.1.tar.gz=a4aa8c43d1b9ffd9dbc6cb738d55a034
15
- jruby-bin-1.4.tar.gz=54dba9a88b2b3f99ac86a79828d0178b
16
- jruby-bin-1.5.0.RC1.tar.gz=47b4ca2a21659d36a2775ade0a2534c4
17
- jruby-bin-1.5.0.RC3.tar.gz=9c2758600de903b8ca07cb1341f4f1b3
18
- jruby-bin-1.5.0.tar.gz=ee2b4e326e8b87858e5dd0c8e94102e6
19
- jruby-bin-1.5.1.tar.gz=0196dcfb17354f12253eaddc1166a0ee
20
- jruby-bin-1.5.2.tar.gz=d239deb9a108a6abbfbd6cb79cf8255b
21
- jruby-bin-1.5.3.tar.gz=ccb0b2dbc300d8dd4ad1bd4da48b8320
22
- jruby-bin-1.5.5.tar.gz=8e00f7d40cbf221f733d6f7a15784e9a
23
- jruby-bin-1.5.6.tar.gz=94033a36517645b7a7ec781a3507c654
24
- libiconv-1.13.1.tar.gz=7ab33ebd26687c744a37264a330bbe9a
25
- ncurses.tar.gz=cce05daf61a64501ef6cd8da1f727ec6
26
- openssl-0.9.8k.tar.gz=e555c6d58d276aec7fdc53363e338ab3
27
- openssl-0.9.8n.tar.gz=076d8efc3ed93646bd01f04e23c07066
28
- pkg-config-0.23.tar.gz=d922a88782b64441d06547632fd85744
29
- readline-5.2.tar.gz=e39331f32ad14009b9ff49cc10c5e751
30
- readline-6.0.tar.gz=b7f65a48add447693be6e86f04a63019
31
- rubinius-1.0.0-20100514.tar.gz=b05f4e791d3712c5a50b3d210dac6eb0
32
- rubinius-1.0.0-rc1-20091125.tar.gz=c1cf037f05caf1bc962c09e220b435f4
33
- rubinius-1.0.0-rc4-20100331.tar.gz=c631131cc9542c548b4fc3791d8aa6b2
34
- rubinius-1.0.0-rc5-20100510.tar.gz=d4fbb5b01aaeee3948cbe1cd38236524
35
- rubinius-1.0.1-20100603.tar.gz=eb185703c7ae0c0210e8dcb7f783ee8e
36
- rubinius-1.1.0-20100923.tar.gz=e2ae16238b201de09975abe19da09ea9
37
- ruby-1.8.5-p115.tar.bz2=03955e3c367b9beb3efe144c9f00d689
38
- ruby-1.8.5-p115.tar.gz=20ca6cc87eb077296806412feaac0356
39
- ruby-1.8.5-p231.tar.bz2=327f5aa6573787432222e96195cffd1e
40
- ruby-1.8.5-p231.tar.gz=e900cf225d55414bffe878f00a85807c
41
- ruby-1.8.6-p286.tar.bz2=e6b6bf8f34370e433936adb7a7065e63
42
- ruby-1.8.6-p286.tar.gz=797ea136fe43e4286c9362ee4516674e
43
- ruby-1.8.6-p287.tar.bz2=80b5f3db12531d36e6c81fac6d05dda9
44
- ruby-1.8.6-p287.tar.gz=6ff3420094711266c3201a0c7c2faa38
45
- ruby-1.8.6-p369.tar.bz2=c3c1f3dd0dfbd2e17a04e59c2f12cfc8
46
- ruby-1.8.6-p369.tar.gz=8c140ae28b4c3947b92dfad69109d90b
47
- ruby-1.8.6-p383.tar.bz2=a48703cd982b9f0e3002700a50b0e88e
48
- ruby-1.8.6-p383.tar.gz=4f49544d4a4d0d34e9d86c41e853db2e
49
- ruby-1.8.6-p398.tar.bz2=fbd43dc44ee26be4d37e6bebbed6f8bd
50
- ruby-1.8.6-p398.tar.gz=736db5f56c2d9b0136e563d049249fa8
51
- ruby-1.8.6-p399.tar.bz2=f77c307cb72fb8808b0e85af5d05cefc
52
- ruby-1.8.6-p399.tar.gz=c3d16cdd3c1ee8f3b7d1c399d4884e33
53
- ruby-1.8.7-p160.tar.bz2=f8ddb886b8a81cf005f53e9a9541091d
54
- ruby-1.8.7-p160.tar.gz=945398f97e2de6dd8ab6df68d10bb1a1
55
- ruby-1.8.7-p174.tar.bz2=88c45aaf627b4404e5e4273cb03ba2ee
56
- ruby-1.8.7-p174.tar.gz=18dcdfef761a745ac7da45b61776afa5
57
- ruby-1.8.7-p248.tar.bz2=37e19d46b7d4b845f57d3389084b94a6
58
- ruby-1.8.7-p248.tar.gz=60a65374689ac8b90be54ca9c61c48e3
59
- ruby-1.8.7-p249.tar.bz2=37200cc956a16996bbfd25bb4068f242
60
- ruby-1.8.7-p249.tar.gz=d7db7763cffad279952eb7e9bbfc221c
61
- ruby-1.8.7-p299.tar.bz2=244439a87d75ab24170a9c2b451ce351
62
- ruby-1.8.7-p299.tar.gz=43533980ee0ea57381040d4135cf9677
63
- ruby-1.8.7-p302.tar.bz2=a6a9e37079ed8cf8726b455dad3de939
64
- ruby-1.8.7-p302.tar.gz=a6a9e37079ed8cf8726b455dad3de939
65
- ruby-1.9.0.tar.bz2=17eb66ac3721340d21db352d8f5dec76
66
- ruby-1.9.1-p129.tar.bz2=6fa62b20f72da471195830dec4eb2013
67
- ruby-1.9.1-p129.tar.gz=c71f413514ee6341c627be2957023a5c
68
- ruby-1.9.1-p243.tar.bz2=66d4f8403d13623051091347764881a0
69
- ruby-1.9.1-p243.tar.gz=515bfd965814e718c0943abf3dde5494
70
- ruby-1.9.1-p376.tar.bz2=e019ae9c643c5efe91be49e29781fb94
71
- ruby-1.9.1-p376.tar.gz=ebb20550a11e7f1a2fbd6fdec2a3e0a3
72
- ruby-1.9.1-p378.tar.bz2=5922459622a23612eb9b68a3586cb5f8
73
- ruby-1.9.1-p378.tar.gz=9fc5941bda150ac0a33b299e1e53654c
74
- ruby-1.9.1-p429.tar.bz2=09df32ae51b6337f7a2e3b1909b26213
75
- ruby-1.9.1-p429.tar.gz=0f6d7630f26042e00bc59875755cf879
76
- ruby-1.9.2-p0.tar.bz2=d8a02cadf57d2571cd4250e248ea7e4b
77
- ruby-1.9.2-p0.tar.gz=755aba44607c580fddc25e7c89260460
78
- ruby-1.9.2-preview1.tar.bz2=0b8f27ea78afcdc54d5d23e569aa0150
79
- ruby-1.9.2-preview1.tar.gz=e2b8cdbf300f53472be09699a5837fd1
80
- ruby-1.9.2-preview3.tar.bz2=19225dceacaac49ddc1664e593af54ac
81
- ruby-1.9.2-preview3.tar.gz=209e59f3495a5503fa948c2732f1d705
82
- ruby-1.9.2-rc1.tar.bz2=242dcfaed8359a6918941b55d0806bf0
83
- ruby-1.9.2-rc1.tar.gz=fdedd5b42ae89a9a46797823ad2d9acf
84
- ruby-1.9.2-rc2.tar.bz2=4e4906d0aab711286b31f5a834860cc3
85
- ruby-1.9.2-rc2.tar.gz=d12cd39eee4d99bc54b52aba5a0ba4e1
86
- ruby-enterprise-1.8.6-20080507.tar.gz=17e3c52e73e42809f57ad0000a6cb4ab
87
- ruby-enterprise-1.8.6-20080621.tar.gz=626fc3811eee2dc92ac27ea63d37a8b2
88
- ruby-enterprise-1.8.6-20080623.tar.gz=0bf8a3a93c6b37bb1260cc09b05e81fd
89
- ruby-enterprise-1.8.6-20080624.tar.gz=de58b97128aa65209f291c66eab7c4a7
90
- ruby-enterprise-1.8.6-20080709.tar.gz=f0ded08cec64959fa388ec6a237b9c47
91
- ruby-enterprise-1.8.6-20080810.tar.gz=bfdcf06f437af825cd9f2d321f9d1896
92
- ruby-enterprise-1.8.6-20081205.tar.gz=50206bec9be2e08a862e5ec2e70fa693
93
- ruby-enterprise-1.8.6-20081215.tar.gz=aab57b7d5061c1980bec5dbe311ec9b2
94
- ruby-enterprise-1.8.6-20090113.tar.gz=e8d796a5bae0ec1029a88ba95c5d901d
95
- ruby-enterprise-1.8.6-20090201.tar.gz=a965e6789b553efaed72191825b13713
96
- ruby-enterprise-1.8.6-20090421.tar.gz=c777b361aadccda7988be16ede7ab15f
97
- ruby-enterprise-1.8.6-20090520.tar.gz=156572a8296bd0440970a6bb95018a13
98
- ruby-enterprise-1.8.6-20090610.tar.gz=0bf66ee626918464a6eccdd83c99d63a
99
- ruby-enterprise-1.8.7-2009.10.tar.gz=3727eef7b6b1b2f31db7d091328d966e
100
- ruby-enterprise-1.8.7-20090928.tar.gz=ae00018ce89d95419dfde370fcd485ac
101
- ruby-enterprise-1.8.7-2010.01.tar.gz=587aaea02c86ddbb87394a340a25e554
102
- ruby-enterprise-1.8.7-2010.02.tar.gz=4df7b09c01adfd711b0ab76837611542
103
- rubygems-0.4.0.tgz=86a64616548a793e1a5f825f0dd385b9
104
- rubygems-0.5.0.tgz=80d151edd94a06bcd2452a7e272b4d96
105
- rubygems-0.6.0.tgz=5df803f5a04654833690dd32283de741
106
- rubygems-0.6.1.tgz=c4a0faa9f876ad805ae80d1396a29d97
107
- rubygems-0.7.0.tgz=ede9b55343219e8b3491793aa12c46f3
108
- rubygems-0.8.0.tgz=9ef6e3c34dcb54e295c8e57321ddc079
109
- rubygems-0.8.1.tgz=6276d268b420c0d61796cdbf6d28dae4
110
- rubygems-0.8.10.tgz=d26592e280c0fb24c51f2837c3f48e67
111
- rubygems-0.8.11.tgz=aa363b428c4c1fc2e076a4ff77b957d7
112
- rubygems-0.8.3.tgz=6e6da80f61d6e77d0ad9e531767f6fd5
113
- rubygems-0.8.4.tgz=a2ad2d03dae8a98002c2a7cd6c3ed352
114
- rubygems-0.8.5.tgz=b917c084e1e6e99d8e102af8dd687ddb
115
- rubygems-0.8.6.tgz=9de98d2f62e3f91521b0207a4dcdeb5b
116
- rubygems-0.8.7.tgz=7fc04b9f9acc0c18cbbe6222be8d0bd3
117
- rubygems-0.8.8.tgz=a8535e9c35a4c215d6ef9268d4bc69ed
118
- rubygems-0.9.0.tgz=5d496e1f415b8b4033ab867f01d1161f
119
- rubygems-0.9.1.tgz=a62314cdb174ccc88a27b8924fa79e4a
120
- rubygems-0.9.2.tgz=cc525053dd465ab6e33af382166fa808
121
- rubygems-0.9.3.tgz=600940a22ecd79e28e0fd37ad1f1d871
122
- rubygems-0.9.4.tgz=b5680acaa019c80ea44fe87cc2e227da
123
- rubygems-0.9.5.tgz=91f7036a724e34cc66dd8d09348733d9
124
- rubygems-1.0.0.tgz=b0b74eac0cbfc5a13f895ab6f803edc1
125
- rubygems-1.0.1.tgz=0d5851084955c327ee1dc9cbd631aa5f
126
- rubygems-1.1.0.tgz=85f994904c5b4045f0a859b29d0be717
127
- rubygems-1.1.1.tgz=1a77c5b6b293a3ccd5261dc120641ccc
128
- rubygems-1.2.0.tgz=b77a4234360735174d1692e6fc598402
129
- rubygems-1.3.0.tgz=63d3dfc038710eaf532b6a133225115a
130
- rubygems-1.3.1.tgz=a04ee6f6897077c5b75f5fd1e134c5a9
131
- rubygems-1.3.2.tgz=6204d0a4c526a1d8fdbce746647b179a
132
- rubygems-1.3.3.tgz=0e9697db44d812712350baf28016b4a7
133
- rubygems-1.3.4.tgz=b17b398503253bf36a101c58f02a226f
134
- rubygems-1.3.5.tgz=6e317335898e73beab15623cdd5f8cff
135
- rubygems-1.3.6.tgz=789ca8e9ad1d4d3fe5f0534fcc038a0d
136
- rubygems-1.3.7.tgz=e85cfadd025ff6ab689375adbf344bbe
137
- zlib-1.2.3.tar.gz=debc62758716a169df9f62e6ab2bc634
138
- zlib-1.2.5.tar.gz=c735eab2d659a96e5a594c9e8541ad63
139
- rubinius-1.1.1-20101116.tar.gz=b39f618eeba37c3aff215da8bca55fd7
@@ -1,25 +0,0 @@
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 $?
@@ -1,221 +0,0 @@
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
- "OpenBSD") groupadd "$rvm_group_name";;
46
- "FreeBSD") pw groupadd -q "$rvm_group_name";;
47
- "Linux") groupadd -f "$rvm_group_name";;
48
- "Darwin")
49
- gid="501" #only gids > 500 show up in user preferences
50
-
51
- #Find an open gid
52
- while true; do
53
- name=$(dscl . search /groups PrimaryGroupID $gid | cut -f1 -s)
54
- if [ -z "$name" ] ; then
55
- break
56
- fi
57
- gid=$[$gid +1]
58
- done
59
-
60
- #Create the group
61
- dscl . -create "/Groups/$rvm_group_name"
62
- dscl . -create "/Groups/$rvm_group_name" gid "$gid"
63
- ;;
64
- esac
65
- fi
66
-
67
- return 0
68
- }
69
-
70
- __rvm_add_user_to_group() {
71
- [[ -z "$1" || -z "$2" ]] && return 1
72
-
73
- echo "Adding '$1' to the group '$2'"
74
-
75
- case "$os_type" in
76
- "OpenBSD") usermod -G "$2" "$1";;
77
- "FreeBSD") pw usermod "$1" -G "$2";;
78
- "Linux") usermod -a -G "$2" "$1";;
79
- "Darwin") dscl . -append "/Groups/$2" GroupMembership "$1";;
80
- esac
81
-
82
- return 0
83
- }
84
-
85
- os_type="$(uname)"
86
-
87
- # Require root to install it.
88
- if [[ $(id -u) -ne 0 ]]; then
89
- echo "Please rerun this installer as root." >&2
90
- exit 1
91
-
92
- # Check for the presence of git.
93
- elif [[ -z "$(command -v git)" ]] ; then
94
- echo "Please ensure git is installed and available in PATH to continue." >&2
95
- exit 1
96
-
97
- else
98
- case "$os_type" in
99
-
100
- OpenBSD|Linux|FreeBSD|Darwin)
101
- : # All clear, proceed!
102
- ;;
103
-
104
- *)
105
- echo "The rvm system wide installer currently only supports the OS types:" >&2
106
- echo "Linux, FreeBSD, OpenBSD, and Darwin" >&2
107
- echo "'$os_type' is currently unknown." >&2
108
- exit 1
109
- ;;
110
- esac
111
- fi
112
-
113
- while [[ $# -gt 0 ]] ; do
114
- case $1 in
115
- --trace)
116
- rvm_trace_flag=1
117
- set -o xtrace
118
- ;;
119
- --debug)
120
- rvm_trace_flag=1
121
- set -o verbose
122
- ;;
123
- --version|--revision)
124
- if [[ -n "${2:-""}" ]] ; then
125
- revision="$2"
126
- shift
127
- else
128
- usage
129
- exit 1
130
- fi
131
- ;;
132
- --help)
133
- usage
134
- exit 0
135
- ;;
136
- *)
137
- usage
138
- exit 1
139
- ;;
140
- esac
141
- shift
142
- done
143
-
144
- # Load the rvm config.
145
- rvm_ignore_rvmrc=${rvm_ignore_rvmrc:-0}
146
- if [[ $rvm_ignore_rvmrc -eq 0 ]]; then
147
- [[ -s /etc/rvmrc ]] && source /etc/rvmrc
148
- [[ -s "$HOME/.rvmrc" ]] && source "$HOME/.rvmrc"
149
- fi
150
-
151
- rvm_path="${rvm_path:-"/usr/local/rvm"}"
152
- export rvm_selfcontained=0
153
-
154
- rvm_group_name="${rvm_group_name:-"rvm"}"
155
-
156
- __rvm_create_user_group "$rvm_group_name"
157
- __rvm_add_user_to_group "$USER" "$rvm_group_name"
158
-
159
- echo "Creating the destination dir and making sure the permissions are correct"
160
- mkdir -p "$rvm_path"
161
- __rvm_system_wide_permissions "$rvm_path"
162
-
163
- mkdir -p "$rvm_path/src/"
164
- builtin cd "$rvm_path/src"
165
-
166
- rm -rf ./rvm/
167
-
168
- git clone --depth 1 git://github.com/wayneeseguin/rvm.git || git clone http://github.com/wayneeseguin/rvm.git
169
-
170
- builtin cd rvm
171
-
172
- if [[ "${revision:-""}" ]]; then
173
- echo "Checking out revision $revision"
174
- git checkout $revision
175
- fi
176
-
177
- echo "Running the install script."
178
- bash ./scripts/install "$@"
179
-
180
- __rvm_system_wide_permissions "$rvm_path"
181
-
182
- echo "Setting up group permissions"
183
- rvm_parent_dir="$(dirname "$rvm_path")"
184
- for dir in bin share/man; do
185
- __rvm_system_wide_permissions "$rvm_parent_dir/$dir"
186
- done; unset dir
187
-
188
- echo "Generating system wide rvmrc"
189
- rm -f /etc/rvmrc
190
- touch /etc/rvmrc
191
- cat > /etc/rvmrc <<END_OF_RVMRC
192
- # Setup default configuration for rvm.
193
- # If an rvm install exists in the home directory, don't load this.'
194
- if [[ ! -s "\$HOME/.rvm/scripts/rvm" ]]; then
195
- umask g+w
196
- export rvm_selfcontained=0
197
- export rvm_prefix="$rvm_parent_dir/"
198
- fi
199
- END_OF_RVMRC
200
-
201
- echo "Generating $rvm_parent_dir/lib/rvm to load rvm"
202
- rm -f "$rvm_parent_dir/lib/rvm"
203
- touch "$rvm_parent_dir/lib/rvm"
204
- cat > "$rvm_parent_dir/lib/rvm" <<END_OF_RVM_SH
205
- # Automatically source rvm
206
- if [[ -s "\$HOME/.rvm/scripts/rvm" ]]; then
207
- source "\$HOME/.rvm/scripts/rvm"
208
- elif [[ -s "/usr/local/rvm/scripts/rvm" ]]; then
209
- source "/usr/local/rvm/scripts/rvm"
210
- fi
211
- END_OF_RVM_SH
212
-
213
- echo "Correct permissions on rvmrc and the rvm loader"
214
- # Finally, ensure the rvmrc is owned by the group.
215
- for file in /etc/rvmrc "$rvm_parent_dir/lib/rvm" ; do
216
- __rvm_system_wide_permissions "$file"
217
- done; unset file
218
-
219
- echo "RVM is now installed. To use, source '$rvm_parent_dir/lib/rvm' to your shell profile."
220
-
221
- unset rvm_parent_dir