forked from rvm/rvm
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
'rvm default' now uses the current set default or system. 'rvm system…
…' now uses system. Added bugfix for install/update, thanks Maz.
- Loading branch information
1 parent
fe841df
commit a64687b
Showing
4 changed files
with
89 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | ||
<html> | ||
<head> | ||
<title>rvm: Ruby Version Manager - Set Default Ruby</title> | ||
<link rel="stylesheet" type="text/css" href="/bp.css" media="screen"> | ||
<link rel="stylesheet" type="text/css" href="/style.css" media="screen"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||
</head> | ||
<body> | ||
|
||
<a href="http://github.com/wayneeseguin/rvm"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" /></a> | ||
|
||
<div class="container"> | ||
<div id="sidebar" class="span-7 append-1"> | ||
<div id="header"> | ||
<div class="title"><a href="/">rvm</a></div> | ||
<div class="tagline">Ruby Version Manager</div> | ||
</div> | ||
<h2 class="quick"> | ||
gem install rvm | ||
<br/> | ||
rvm-install | ||
</h2> | ||
|
||
<h2>Navigation</h2> | ||
<ul> | ||
<li><a href="/install/">Installing</a></li> | ||
<li><a href="/use/">Using</a></li> | ||
<li><a href="/implementations/">Interpreters</a></li> | ||
<li><a href="/patchlevels/">Patch Levels</a></li> | ||
<li><a href="/setdefault/">Set Default Ruby</a></li> | ||
<!-- | ||
<li><a href="/tags/">Tags</a></li> | ||
<li><a href="/revisions/">Revisions</a></li> | ||
<li><a href="/gemsets/">Named Gem Sets</a></li> | ||
<li><a href="/rvmrc/">rvmrc</a></li> | ||
--> | ||
<li><a href="/rubydo/">rubydo / do</a></li> | ||
<li><a href="/examples/">Examples</a></li> | ||
<li><a href="/faq/">FAQ & Notes</a></li> | ||
<li><a href="/todo/">TODO</a></li> | ||
<li><a href="/contribute/">Contributing</a></li> | ||
<li><a href="/about/">About</a></li> | ||
<li><a href="/thanks/">Credits & Thanks</a></li> | ||
</ul> | ||
|
||
<h2>IRC</h2> | ||
<ul> | ||
<li>irc.freenode.net #rvm</li> | ||
<li>wayneeseguin</li> | ||
</ul> | ||
|
||
<h2>Development</h2> | ||
<ul> | ||
<li><a href="http://github.com/wayneeseguin/rvm/tree/master">Git (GitHub)</a></li> | ||
<li><a href="http://github.com/wayneeseguin/rvm/issues">Issues (GitHub)</a></li> | ||
<li><a href="https://www.pivotaltracker.com/projects/26822">Pivotal Tracker Project</a></li> | ||
</ul> | ||
</div> | ||
<div id="main" class="span-16 last"> | ||
<a name="top"></a> | ||
<a name="setdefault"></a> | ||
<a name="default"></a> | ||
<h1>Setting the default Ruby</h1> | ||
|
||
<p>If you would like to make a Ruby be the default ruby that is selected when you open a new terminal shell simply use the --default flag:</p> | ||
<code> | ||
$ rvm 1.9.1 --default | ||
</code> | ||
<p>The next time you open a window Ruby 1.9.1 will be the selected ruby.</p> | ||
|
||
<a name="bottom"></a> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |