Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Okay. I see what you're going for but again try to go abstract because I know someone will give you a direct answer (which people should up-vote over this).</p> <p>Everyone should get comfortable with man pages. But even if you are, you'll find that these commands lack decent man pages. However, those that do will point you to <code>cmd --help</code> and you will find some decent documentation there. I linked each of the commands above to a hopefully useful resource that will lead you to an answer if you're worried about command line switches. I see someone already posted the commands so I won't repeat those for <code>gem</code>. But I'd go further and say:</p> <pre><code>sudo gem update [gemname] </code></pre> <p>The default behavior will update all installed gems.</p> <hr> <p>Also, as a bonus there is a neat gem called <a href="http://cheat.errtheblog.com/" rel="nofollow noreferrer">cheat</a>. The idea is that instead of typing <code>man cmd</code> you will type <code>cheat cmd</code> and you can get a community editable man page for that command. Or better yet, it doesn't have to be a command, it can be an entire <em>topic</em>. Coincidentally to install cheat you would do:</p> <pre><code>sudo gem install cheat </code></pre> <p>And then:</p> <pre><code>cheat gem </code></pre> <p>That will <a href="http://cheat.errtheblog.com/s/gem/" rel="nofollow noreferrer">list out a "man page"</a> written by users like you about the gem command. The commands that you asked for are on that page. Anyone can add new pages, update existing pages, and contribute to the community. If you're interested <a href="http://errtheblog.com/posts/32-cheat-again" rel="nofollow noreferrer">here</a> is a quick addition you can make to have autocompletion for the cheat command from the command line.</p> <p><em>I know I have long winded answers ;)</em></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload