Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>As <em>The Tin Man</em> suggests (above) <strong>RVM</strong> (<em>Ruby Version Manager</em>) is the <em>Standard</em> for upgrading your Ruby installation on OSX: <a href="https://rvm.io" rel="nofollow noreferrer">https://rvm.io</a> </p> <p>To get started, open a <strong>Terminal</strong> Window and issue the following command:</p> <pre><code>\curl -L https://get.rvm.io | bash -s stable --ruby </code></pre> <p>( you will need to <em>trust</em> the RVM Dev Team that the command is <em>not malicious</em> - if you're a <em>paranoid penguin</em> like me, you can always go read the <em>source</em>: <a href="https://github.com/wayneeseguin/rvm" rel="nofollow noreferrer">https://github.com/wayneeseguin/rvm</a> ) When it's complete you <strong>need to restart the terminal</strong> to get the <code>rvm</code> command working.</p> <pre><code>rvm list known </code></pre> <p>( shows you the <em>latest available versions</em> of Ruby )</p> <pre><code>rvm install ruby-2.3.1 </code></pre> <p>For a specific version, followed by</p> <pre><code>rvm use ruby-2.3.1 </code></pre> <p><strong>or</strong> if you just want the latest (current) version:</p> <pre><code>rvm install current &amp;&amp; rvm use current </code></pre> <p>( installs the current stable release - at time of writing ruby-2.3.1 - please update this wiki when new versions released )</p> <p><strong>Note on Compiling Ruby</strong>: In my case I also had to install <strong>Homebrew</strong> <a href="http://mxcl.github.com/homebrew/" rel="nofollow noreferrer">http://mxcl.github.com/homebrew/</a> to get the <em>gems</em> I needed (<a href="https://github.com/rspec/rspec-rails" rel="nofollow noreferrer">RSpec</a>) which in turn forces you to install <strong>Xcode</strong> (if you haven't already) <a href="https://itunes.apple.com/us/app/xcode/id497799835" rel="nofollow noreferrer">https://itunes.apple.com/us/app/xcode/id497799835</a> <strong>AND/OR</strong> install the GCC package from: <a href="https://github.com/kennethreitz/osx-gcc-installer" rel="nofollow noreferrer">https://github.com/kennethreitz/osx-gcc-installer</a> to avoid errors running "<em>make</em>".</p> <p><strong>Edit:</strong> As of <em>Mavericks</em> you can choose to install only the Xcode command line tools instead of the whole Xcode package, which comes with gcc and lots of other things you might need for building packages. It can be installed by running <code>xcode-select --install</code> and following the on-screen prompt.</p> <ul> <li>Examples: <a href="https://rvm.io/workflow/examples/" rel="nofollow noreferrer">https://rvm.io/workflow/examples/</a></li> <li>Screencast: <a href="http://screencasts.org/episodes/how-to-use-rvm" rel="nofollow noreferrer">http://screencasts.org/episodes/how-to-use-rvm</a></li> </ul> <p><strong>Note on erros</strong>: if you get the error "<strong>RVM is not a function</strong>" while trying this command, visit: <a href="https://stackoverflow.com/questions/8663936/">How do I change my Ruby version using RVM?</a> for the solution. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

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