Skip to content
Browse files

__rvm* types documentation cleanup

  • Loading branch information...
1 parent 8cc0d6f commit 72dea3d930fbb8d02327af949990793b9cb76185 @evax committed Jan 18, 2012
Showing with 8 additions and 5 deletions.
  1. +4 −0 conf/type/__rvm_gem/man.text
  2. +4 −5 conf/type/__rvm_gemset/man.text
View
4 conf/type/__rvm_gem/man.text
@@ -34,6 +34,10 @@ EXAMPLES
# Install the rails gem in gemset ruby-1.9.3-p0@myset for user bill
__rvm_gemset rails --gemset ruby-1.9.3-p0@myset --user bill --state installed
+# Do the same and also make ruby-1.9.3-p0@myset the default gemset
+__rvm_gemset rails --gemset ruby-1.9.3-p0@myset --user bill \
+ --state installed --default yes
+
# Remove it
__rvm_ruby rails --gemset ruby-1.9.3-p0@myset --user bill --state removed
--------------------------------------------------------------------------------
View
9 conf/type/__rvm_gemset/man.text
@@ -17,17 +17,13 @@ REQUIRED PARAMETERS
-------------------
user::
The remote user account to use
-ruby::
- The ruby version to use
-name::
- The gemset name (including
state::
Either "installed" or "removed".
OPTIONAL PARAMETERS
-------------------
default::
- If set to anything but "no" (the default), set the give gemset as default.
+ If set to anything but "no" (the default), set the given gemset as default.
EXAMPLES
--------
@@ -36,6 +32,9 @@ EXAMPLES
# Install the gemset @myset for user charles on based on ruby-1.9.3-0
__rvm_gemset ruby-1.9.3-p0@myset --user charles --state installed
+# Do the same and make ruby-1.9.3-p0@myset the default gemset
+__rvm_gemset ruby-1.9.3-p0@myset --user charles --state installed --default yes
+
# Remove the gemset @myset for user john
__rvm_ruby ruby-1.9.3-p0@myset --user john --state removed
--------------------------------------------------------------------------------

0 comments on commit 72dea3d

Please sign in to comment.
Something went wrong with that request. Please try again.