From 539aa3efc0f71cb7f154a93c678443808b237dcc Mon Sep 17 00:00:00 2001 From: Devin Rhode Date: Tue, 27 May 2014 19:15:56 -0500 Subject: [PATCH] Update rvm install command 1. Prefer homebrew (otherwise macports gets used if installed) 2. It seems that the command has been updated to `\curl -sSL` instead of `curl -L` for clearly specific reasons. --- script/osx_dev | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/osx_dev b/script/osx_dev index 424e25e14..9dbe2556a 100755 --- a/script/osx_dev +++ b/script/osx_dev @@ -34,11 +34,11 @@ gcc-4.2 -v # Check that GCC installed successfully ## Install RVM and Ruby 2.0.0 with turbo patchset ## echo "Installing RVM..." -curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled +\curl -sSL https://get.rvm.io | bash -s stable --rails --autolibs=homebrew source ~/.rvm/scripts/rvm rvm get stable -rvm autolibs 3 # Tell RVM to install anything it's missing +rvm autolibs homebrew # Tell RVM to install anything it's missing with homebrew rvm requirements # This will install baseline requirements that might be missing rvm install 2.0.0-turbo # Now, install Ruby 2.0.0 with performance patches rvm --create --ruby-version use 2.0.0-turbo # Use this Ruby as the default in this directory