Skip to content

Commit

Permalink
Fixes #7 - Deprecated Mac Installation Instructions
Browse files Browse the repository at this point in the history
Updated all of the instructions to specify using Ruby 1.9.3 and the latest
instructions from rvm.io.
  • Loading branch information
topherfangio committed May 15, 2013
1 parent fc952f7 commit 6fe5ea8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 44 deletions.
23 changes: 6 additions & 17 deletions content/install_linux.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,18 @@ <h1>Installation via Ruby Gem</h1>
<h1>Step A: Installing RVM and Ruby</h1>
<ol class="steps">
<li>
<strong>If you have Git:</strong>
<pre><code>$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)</code></pre>
<br>
<strong>Without Git:</strong>
<pre><code>$ curl -s https://rvm.beginrescueend.com/install/rvm -o rvm-installer
$ chmod +x rvm-installer
$ ./rvm-installer --version latest</code></pre>
<strong><em>Ubuntu Only:</em> Install build-essentials</strong>
<pre><code>$ sudo apt-get install build-essential</code></pre>
</li>
<li>
Install RVM along with Ruby 1.9.3.
<pre><code>$ \curl -#L https://get.rvm.io | bash -s stable --autolibs=3 --ruby=1.9.3</code></pre>
</li>
<li>
Add the following to your ~/.bash_profile to add Ruby to your
PATH.
<pre><code>[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session</code></pre>
</li>
<li>
<strong>Install Ruby:</strong>
<pre><code>$ rvm install ruby-1.9.2
$ rvm use 1.9.2
$ rvm --default use 1.9.2</code></pre>
</li>
<li>
<strong><em>Ubuntu Only:</em> Install build-essentials</strong>
<pre><code>$ sudo apt-get install build-essential</code></pre>
</li>
<li>
<strong>Install SproutCore:</strong> This is the easy part.
<pre><code>$ gem install sproutcore</code></pre>
Expand Down
14 changes: 2 additions & 12 deletions content/install_mac.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,24 +51,14 @@ <h1>Installation</h1>
<h1>Installing Ruby and SproutCore</h1>
<ol class="steps">
<li>
<strong>If you have Git:</strong>
<pre><code>$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)</code></pre>
<br>
<strong>If you don't have Git:</strong>
<pre><code>$ curl -s https://rvm.beginrescueend.com/install/rvm -o rvm-installer
$ chmod +x rvm-installer
$ ./rvm-installer --version latest</code></pre>
Install RVM along with Ruby 1.9.3.
<pre><code>$ \curl -#L https://get.rvm.io | bash -s stable --autolibs=3 --ruby=1.9.3</code></pre>
</li>
<li>
Add the following to your ~/.bash_profile so the build tools
will be in your path.
<pre><code>[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session</code></pre>
</li>
<li>
<strong>Install Ruby:</strong>
<pre><code>$ rvm install ruby-1.9.2
$ rvm --default use 1.9.2</code></pre>
</li>
<li>
<strong>Install SproutCore:</strong> This part is easy.
<pre><code>$ gem install sproutcore</code></pre>
Expand Down
20 changes: 5 additions & 15 deletions content/install_win.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h1>Installation</h1>
<p>If you already do Ruby development on Windows or would just like
to have greater flexibility, you can install the SproutCore Dev
Tools as a Ruby gem. If you want to install Ruby, start on Part A.
If you already have a Ruby 1.9.2 installation, skip to Part B.</p>
If you already have a Ruby 1.9.3 installation, skip to Part B.</p>
</section>
<section>
<h1>Part A: Installing Ruby</h1>
Expand All @@ -39,8 +39,8 @@ <h1>Part A: Installing Ruby</h1>
<section>
<h1>Easiest: One-Click Ruby Installer</h1>
<ol class="steps">
<li>First download and install Ruby 1.9.2 from http://rubyinstaller.org/downloads/.</li>
<li>Next open "Ruby-1.9.2-*/Command Prompt with Ruby" from your Start Menu.
<li>First download and install Ruby 1.9.3 from http://rubyinstaller.org/downloads/.</li>
<li>Next open "Ruby-1.9.3-*/Command Prompt with Ruby" from your Start Menu.
(If you installed to your system $PATH, you can just open a normal command prompt.)</li>
<li>Continue to Part B.</li>
</ol>
Expand Down Expand Up @@ -79,18 +79,8 @@ <h2>Install Cygwin</h2>
<h2>Install RVM and Ruby</h2>
<ol class="steps">
<li>
<strong>If you have Git:</strong>
<pre><code>$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)</code></pre>
<br>
<strong>If you don't have Git:</strong>
<pre><code>$ curl -s https://rvm.beginrescueend.com/install/rvm -o rvm-installer
$ chmod +x rvm-installer
$ ./rvm-installer --version latest</code></pre>
</li>
<li>
<strong>Install Ruby:</strong>
<pre><code>$ rvm install ruby-1.9.2
$ rvm --default use 1.9.2</code></pre>
Install RVM along with Ruby 1.9.3.
<pre><code>$ \curl -#L https://get.rvm.io | bash -s stable --autolibs=3 --ruby=1.9.3</code></pre>
</li>
</ol>
</section>
Expand Down

0 comments on commit 6fe5ea8

Please sign in to comment.