Skip to content

Commit

Permalink
Merge pull request #2 from AgilionApps/ap/use-2.1.2
Browse files Browse the repository at this point in the history
Use 2.1.2 by default, not 2.1.0.
  • Loading branch information
alanpeabody committed Jun 25, 2014
2 parents 1b08e11 + 03bcb44 commit 45068d0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/ruby-2.1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ fi

source '/home/vagrant/.rvm/scripts/rvm'

if rvm list strings | grep -lq ruby-2.1.0 ; then
echo 'Ruby 2.1.0 installed. Skipping installed.'
if rvm list strings | grep -lq ruby-2.1.2 ; then
echo 'Ruby 2.1.2 installed. Skipping installed.'
else
rvm autolibs packages
rvm requirements
rvm mount https://rvm.io/binaries/ubuntu/12.04/x86_64/ruby-2.1.0.tar.bz2
rvm use 2.1.0 --default
rvm mount https://rvm.io/binaries/ubuntu/12.04/x86_64/ruby-2.1.2.tar.bz2
rvm use 2.1.2 --default
gem update bundler
fi

echo 'Setting Ruby 2.1 as default'
echo 'Setting Ruby 2.1.2 as default'

0 comments on commit 45068d0

Please sign in to comment.