Skip to content

Commit b10be4f

Browse files
authored
Merge pull request #46 from adamniedzielski/ruby-version-fix
Ask for the same version of Ruby as we install
2 parents 47e50e2 + e4418c8 commit b10be4f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rails-install-ubuntu.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ curl -sSL https://get.rvm.io | bash -s stable
1919
source ~/.rvm/scripts/rvm
2020

2121
echo "Installs Ruby"
22-
rvm install 2.4.0
23-
rvm use 2.4.0 --default
22+
rvm install 2.4.1
23+
rvm use 2.4.1 --default
2424

2525
echo "gem: --no-ri --no-rdoc" > ~/.gemrc
2626
gem install bundler
@@ -34,7 +34,7 @@ echo -n "Should be sqlite 3.8.1 or higher: sqlite "
3434
sqlite3 --version
3535
echo -n "Should be rvm 1.26.11 or higher: "
3636
rvm --version | sed '/^.*$/N;s/\n//g' | cut -c 1-11
37-
echo -n "Should be ruby 2.2.2: "
37+
echo -n "Should be ruby 2.4.1: "
3838
ruby -v | cut -d " " -f 2
3939
echo -n "Should be Rails 4.2.1 or higher: "
4040
rails -v

0 commit comments

Comments
 (0)