gemrage 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. data/Gemfile +2 -0
  2. data/Gemfile.lock +5 -0
  3. data/VERSION +1 -1
  4. data/gemrage.gemspec +148 -3
  5. data/lib/rubygems/commands/scan_command.rb +77 -4
  6. data/vendor/ruby/1.8/bin/rvm-install +19 -0
  7. data/vendor/ruby/1.8/cache/macaddr-1.0.0.gem +0 -0
  8. data/vendor/ruby/1.8/cache/rvm-1.0.14.gem +0 -0
  9. data/vendor/ruby/1.8/gems/macaddr-1.0.0/README +33 -0
  10. data/vendor/ruby/1.8/gems/macaddr-1.0.0/gemspec.rb +27 -0
  11. data/vendor/ruby/1.8/gems/macaddr-1.0.0/install.rb +210 -0
  12. data/vendor/ruby/1.8/gems/macaddr-1.0.0/lib/macaddr.rb +69 -0
  13. data/vendor/ruby/1.8/gems/rvm-1.0.14/LICENCE +18 -0
  14. data/vendor/ruby/1.8/gems/rvm-1.0.14/README +127 -0
  15. data/vendor/ruby/1.8/gems/rvm-1.0.14/bin/rvm-install +5 -0
  16. data/vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm +76 -0
  17. data/vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm-auto-ruby +24 -0
  18. data/vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm-prompt +204 -0
  19. data/vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm-shell +35 -0
  20. data/vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm-update-head +35 -0
  21. data/vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvm-update-latest +27 -0
  22. data/vendor/ruby/1.8/gems/rvm-1.0.14/binscripts/rvmsudo +24 -0
  23. data/vendor/ruby/1.8/gems/rvm-1.0.14/config/db +71 -0
  24. data/vendor/ruby/1.8/gems/rvm-1.0.14/config/known +55 -0
  25. data/vendor/ruby/1.8/gems/rvm-1.0.14/config/md5 +87 -0
  26. data/vendor/ruby/1.8/gems/rvm-1.0.14/contrib/gemset_snapshot +25 -0
  27. data/vendor/ruby/1.8/gems/rvm-1.0.14/contrib/install-system-wide +191 -0
  28. data/vendor/ruby/1.8/gems/rvm-1.0.14/contrib/r +44 -0
  29. data/vendor/ruby/1.8/gems/rvm-1.0.14/examples/rvmrc +47 -0
  30. data/vendor/ruby/1.8/gems/rvm-1.0.14/gemsets/default.gems +1 -0
  31. data/vendor/ruby/1.8/gems/rvm-1.0.14/gemsets/global.gems +1 -0
  32. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/alias +46 -0
  33. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/benchmark +17 -0
  34. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/cleanup +23 -0
  35. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/debug +8 -0
  36. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/disk-usage +15 -0
  37. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/docs +22 -0
  38. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/exec +33 -0
  39. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/fetch +5 -0
  40. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/gem +0 -0
  41. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/gemdir +0 -0
  42. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/gemset +0 -0
  43. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/implode +0 -0
  44. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/info +64 -0
  45. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/install +0 -0
  46. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/list +0 -0
  47. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/migrate +15 -0
  48. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/monitor +0 -0
  49. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/notes +0 -0
  50. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/package +0 -0
  51. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/rake +14 -0
  52. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/remove +0 -0
  53. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/repair +23 -0
  54. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/reset +0 -0
  55. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/ruby +84 -0
  56. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/rubygems +11 -0
  57. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/rvmrc +34 -0
  58. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/snapshot +15 -0
  59. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/specs +0 -0
  60. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/srcdir +0 -0
  61. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/tests +0 -0
  62. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/tools +22 -0
  63. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/uninstall +0 -0
  64. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/update +0 -0
  65. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/upgrade +18 -0
  66. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/use +0 -0
  67. data/vendor/ruby/1.8/gems/rvm-1.0.14/help/wrapper +41 -0
  68. data/vendor/ruby/1.8/gems/rvm-1.0.14/install +631 -0
  69. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/VERSION.yml +4 -0
  70. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/capistrano.rb +45 -0
  71. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/alias.rb +69 -0
  72. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/cleanup.rb +54 -0
  73. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/configuration.rb +60 -0
  74. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/env.rb +52 -0
  75. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/gemset.rb +222 -0
  76. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/info.rb +13 -0
  77. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/list.rb +124 -0
  78. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/rubies.rb +50 -0
  79. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/sets.rb +123 -0
  80. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/tools.rb +68 -0
  81. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/utility.rb +173 -0
  82. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment/wrapper.rb +23 -0
  83. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/environment.rb +64 -0
  84. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/errors.rb +31 -0
  85. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/install_command_dumper.rb +51 -0
  86. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell/abstract_wrapper.rb +145 -0
  87. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell/calculate_rvm_path.sh +26 -0
  88. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell/result.rb +42 -0
  89. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell/shell_wrapper.sh +10 -0
  90. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell/single_shot_wrapper.rb +56 -0
  91. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell/utility.rb +37 -0
  92. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell.rb +25 -0
  93. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/version.rb +19 -0
  94. data/vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm.rb +156 -0
  95. data/vendor/ruby/1.8/gems/rvm-1.0.14/man/man1/rvm.1 +385 -0
  96. data/vendor/ruby/1.8/gems/rvm-1.0.14/man/man1/rvm.1.gz +0 -0
  97. data/vendor/ruby/1.8/gems/rvm-1.0.14/rvm.gemspec +184 -0
  98. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/alias +225 -0
  99. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/aliases +4 -0
  100. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/array +32 -0
  101. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/base +49 -0
  102. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/cd +87 -0
  103. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/cleanup +58 -0
  104. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/cli +781 -0
  105. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/color +49 -0
  106. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/completion +151 -0
  107. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/db +87 -0
  108. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/default +64 -0
  109. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/disk-usage +60 -0
  110. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/docs +115 -0
  111. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/env +46 -0
  112. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/environment-convertor +74 -0
  113. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/fetch +229 -0
  114. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/gemsets +950 -0
  115. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/hash +37 -0
  116. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/help +46 -0
  117. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/hook +23 -0
  118. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/info +214 -0
  119. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/initialize +29 -0
  120. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/install +631 -0
  121. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/irbrc +9 -0
  122. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/irbrc.rb +63 -0
  123. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/list +315 -0
  124. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/log +38 -0
  125. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/maglev +193 -0
  126. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/manage +2094 -0
  127. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/match +6 -0
  128. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/md5 +22 -0
  129. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/migrate +175 -0
  130. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/monitor +105 -0
  131. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/notes +121 -0
  132. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/override_gem +14 -0
  133. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/package +301 -0
  134. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/patches +64 -0
  135. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/patchsets +87 -0
  136. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/repair +199 -0
  137. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/rubygems +157 -0
  138. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/rvm +120 -0
  139. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/rvm-install +631 -0
  140. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/selector +818 -0
  141. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/set +301 -0
  142. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/snapshot +262 -0
  143. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/tools +58 -0
  144. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/update +631 -0
  145. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/upgrade +144 -0
  146. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/utility +1557 -0
  147. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/version +17 -0
  148. data/vendor/ruby/1.8/gems/rvm-1.0.14/scripts/wrapper +210 -0
  149. data/vendor/ruby/1.8/specifications/macaddr-1.0.0.gemspec +27 -0
  150. data/vendor/ruby/1.8/specifications/rvm-1.0.14.gemspec +42 -0
  151. metadata +149 -4
@@ -0,0 +1,33 @@
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.
@@ -0,0 +1,5 @@
1
+ Fetch
2
+
3
+ Performs an archive / src fetch of the current selected ruby.
4
+
5
+ Usage: ∴ rvm fetch
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,64 @@
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
+ BUNDLE_PATH: "/Users/wayne/.rvm/gems/ruby-1.9.2-head"
38
+ MY_RUBY_HOME: "/Users/wayne/.rvm/rubies/ruby-1.9.2-head"
39
+ IRBRC: "/Users/wayne/.rvm/rubies/ruby-1.9.2-head/.irbrc"
40
+ RUBYOPT: ""
41
+ gemset: ""
42
+
43
+ ruby-1.8.7-p249:
44
+
45
+ homes:
46
+ gem: "/Users/wayne/.rvm/gems/ruby-1.8.7-p249"
47
+ ruby: "/Users/wayne/.rvm/rubies/ruby-1.8.7-p249"
48
+
49
+ binaries:
50
+ ruby: "/Users/wayne/.rvm/rubies/ruby-1.8.7-p249/bin/ruby"
51
+ irb: "/Users/wayne/.rvm/rubies/ruby-1.8.7-p249/bin/irb"
52
+ gem: "/Users/wayne/.rvm/rubies/ruby-1.8.7-p249/bin/gem"
53
+ rake: "/Users/wayne/.rvm/gems/ruby-1.8.7-p249/bin/rake"
54
+
55
+ environment:
56
+ GEM_HOME: "/Users/wayne/.rvm/gems/ruby-1.8.7-p249"
57
+ GEM_PATH: "/Users/wayne/.rvm/gems/ruby-1.8.7-p249:/Users/wayne/.rvm/gems/ruby-1.8.7-p249@global"
58
+ BUNDLE_PATH: "/Users/wayne/.rvm/gems/ruby-1.8.7-p249"
59
+ MY_RUBY_HOME: "/Users/wayne/.rvm/rubies/ruby-1.8.7-p249"
60
+ IRBRC: "/Users/wayne/.rvm/rubies/ruby-1.8.7-p249/.irbrc"
61
+ RUBYOPT: ""
62
+ gemset: ""
63
+
64
+
File without changes
File without changes
@@ -0,0 +1,15 @@
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
+
File without changes
File without changes
File without changes
@@ -0,0 +1,14 @@
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
+
File without changes
@@ -0,0 +1,23 @@
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
File without changes
@@ -0,0 +1,84 @@
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
+ ...
@@ -0,0 +1,11 @@
1
+
2
+ ∴ rvm rubygems [version]
3
+
4
+ Installs a specific rubygems version in the current ruby. If
5
+ current is specified, will install the most current rubygems
6
+ as known by rvm.
7
+
8
+ Please note that currently this is only compatible with ruby
9
+ 1.8.* and ruby enterprise edition. If your system isn't supported,
10
+ running the command will generate an error message.
11
+
@@ -0,0 +1,34 @@
1
+
2
+ ∴ rvm rvmrc {trust,untrust,trusted,load,reset} [optional-path]
3
+
4
+ Tools for dealing with and loading the rvmrc trust for a given directory.
5
+ All actions take an optional path to a directory to check.
6
+
7
+ Examples:
8
+
9
+ To check the status of ~/My/project, you'd run:
10
+
11
+ ∴ rvm rvmrc trusted ~/My/project
12
+
13
+ Or, more conventionally,
14
+
15
+ ∴ cd ~/My/project && rvm rvmrc trusted
16
+
17
+ To manually set it as trusted:
18
+
19
+ ∴ rvm rvmrc trust ~/My/project
20
+
21
+ Or, to reset the trust and force a prompt:
22
+
23
+ ∴ rvm rvmrc reset ~/My/project
24
+
25
+ Finally, to load the rvmrc in a directory, you'd run:
26
+
27
+ ∴ rvm rvmrc load ~/My/project
28
+
29
+ Or,
30
+
31
+ ∴ cd ~/My/project && rvm rvmrc load
32
+
33
+ Note that this replaces 'rvm load-rvmrc'. Note that load implicity trusts the
34
+ rvmrc, even if it is set to untrusted.
@@ -0,0 +1,15 @@
1
+
2
+ ∴ rvm snapshot {load,save} filename
3
+
4
+ Saves or creates a snapshot of the given rvm install. This includes:
5
+
6
+ * Settings
7
+ * Aliases
8
+ * Rubies
9
+ * Gemsets
10
+ * Packages
11
+ * Your Default
12
+
13
+ Ideally to make it easy to have a consistent environment among machines
14
+ / to back up your environment. Please note that this is still considered
15
+ experimental to a large degree.
File without changes
File without changes
File without changes
@@ -0,0 +1,22 @@
1
+
2
+ ∴ rvm tools {identifier,path-identifier,strings}
3
+
4
+ Provides generic tools related to rvm environments for getting information
5
+ about your current environment. Primarily used for scripting rvm.
6
+
7
+ Examples:
8
+
9
+ To get the expanded ruby string of the current environment, we'd run:
10
+
11
+ ∴ rvm tools identifier
12
+
13
+ To get the identifier for a folder (taking into account rvmrc files and the like),
14
+ we're instead run:
15
+
16
+ ∴ rvm tools path-identifier ~/path/to/directory
17
+
18
+ Lastly, we can example ruby strings. E.g., to get the current ree version, we'd
19
+ run:
20
+
21
+ ∴ rvm tools strings ree
22
+
File without changes
File without changes
@@ -0,0 +1,18 @@
1
+
2
+ ∴ rvm upgrade ruby-prefix [optional-source]
3
+
4
+ Attempts to install the latest version of a given ruby (still experimental).
5
+
6
+ Given a ruby prefix (e.g. 1.9.2), it attempts to upgrade your last installed
7
+ version, migrating gemsets.
8
+
9
+ The process will prompt you at each stage - if the versions look incorrect,
10
+ please cancel and perform it manually.
11
+
12
+ Examples:
13
+
14
+ If you have 1.9.2-rc2 installed and want to switch it to 1.9.2-p0,
15
+
16
+ ∴ rvm upgrade 1.9.2
17
+
18
+ Will install 1.9.2-p0 and migrate the gemsets.
File without changes
@@ -0,0 +1,41 @@
1
+
2
+ ∴ rvm wrapper [ruby_string] [wrapper_prefix] [binary[ binary[ ...]]]
3
+
4
+ Where ruby_string is the ruby version and gemset combination to wrap,
5
+ wrapper prefix is what to prepend to the name of the generated wrapper
6
+ binaries and binaries is the names of the binaries you wish to provide
7
+ a wrapper for (e.g. gem).
8
+
9
+ When no binaries are provided, rvm will by default generate wrappers for
10
+ ruby, gem, rake, irb, rdoc, ri, and testrb.
11
+
12
+ Examples:
13
+
14
+ If you wish to provide an environment-specific wrapper for rspec with a
15
+ rails 3 gemset, you could do:
16
+
17
+ ∴ rvm --create ree@rails3
18
+ ∴ rvm wrapper ree@rails3 r3 spec
19
+
20
+ Which would add r3_spec with the specified environment to your the bin
21
+ directory where you installed rvm.
22
+
23
+ Alternatively, if you do:
24
+
25
+ ∴ rvm wrapper ruby-1.9.2-head
26
+
27
+ It will create binaries named ruby,gem, rake, irb, rdoc, ri and tesrb
28
+ in the rvm bin directory.
29
+
30
+ Finally, to show another real and common use, you can use wrapper
31
+ to generate ruby executables and gems for passenger to use. Namely:
32
+
33
+ ∴ rvm use ree@rails3 --passenger
34
+
35
+ is equivelant to:
36
+
37
+ ∴ rvm use ree@rails3
38
+ ∴ rvm wrapper ree@rails3 passenger
39
+
40
+ Which creates passenger_* binaries in the rvm bin directory using
41
+ ree and the rails3 gemset.