Skip to content

Commit aed2c6d

Browse files
committed
Change Rubies installation to reduce duplication
Ruby 1.9.x and 2.x requires Ruby 1.8.x as pre-requisite. When installing 2.1, RVM triggers the installation of 1.8.7-head before, and then we install latest 1.8.7. This change ensures that Ruby 1.8.7 is installed first so others can depend on it and avoid multiple 1.8.7 installations. Due Ruby 1.8.7 EOL, we are going to set a specific patchlevel for it to avoid rvm installing `head` version of it too.
1 parent c81038e commit aed2c6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bootstrap.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ fi
7373

7474
# install rubies
7575
$as_vagrant 'rvm install jruby'
76-
$as_vagrant 'rvm install 2.1'
77-
$as_vagrant 'rvm install 2.0.0'
76+
$as_vagrant 'rvm install 1.8.7-p374'
7877
$as_vagrant 'rvm install 1.9.3'
79-
$as_vagrant 'rvm install 1.8.7'
78+
$as_vagrant 'rvm install 2.0.0'
79+
$as_vagrant 'rvm install 2.1'
8080

8181
# add /vagrant/bin to the PATH
8282
if ! grep -q "/vagrant/bin" $home/.bash_profile; then

0 commit comments

Comments
 (0)