Skip to content

Commit b1b5748

Browse files
committed
Changed version for ruby to new one
1 parent a391f0f commit b1b5748

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

rails-install-ubuntu.sh

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ curl -sSL https://get.rvm.io | bash -s stable
2727
source ~/.rvm/scripts/rvm
2828

2929
echo "Installs Ruby"
30-
rvm install 2.4.1
31-
rvm use 2.4.1 --default
30+
rvm install 2.5.1
31+
rvm use 2.5.1 --default
3232

3333
echo "gem: --no-ri --no-rdoc" > ~/.gemrc
3434
gem install bundler
@@ -42,24 +42,24 @@ echo -n "Should be sqlite 3.8.1 or higher: sqlite "
4242
sqlite3 --version
4343
echo -n "Should be rvm 1.26.11 or higher: "
4444
rvm --version | sed '/^.*$/N;s/\n//g' | cut -c 1-11
45-
echo -n "Should be ruby 2.4.1: "
45+
echo -n "Should be ruby 2.5.1: "
4646
ruby -v | cut -d " " -f 2
4747
echo -n "Should be Rails 4.2.1 or higher: "
4848
rails -v
4949
echo -e "\n- - - - - -\n"
5050

51-
echo "If the versions match, everything is installed correctly. If the versions
52-
don't match or errors are shown, something went wrong with the automated process
51+
echo "If the versions match, everything is installed correctly. If the versions
52+
don't match or errors are shown, something went wrong with the automated process
5353
and we will help you do the installation the manual way at the event.
5454
5555
Congrats!
56-
57-
Make sure that all works well by running the application generator command:
58-
$ rails new railsgirls
59-
60-
If you encounter the message:
61-
The program 'rails' is currently not installed.
62-
56+
57+
Make sure that all works well by running the application generator command:
58+
$ rails new railsgirls
59+
60+
If you encounter the message:
61+
The program 'rails' is currently not installed.
62+
6363
It is just a hiccup with the shell, solutions:
64-
$ source ~/.rvm/scripts/rvm
64+
$ source ~/.rvm/scripts/rvm
6565
Allow login shell, example http://rvm.io/integration/gnome-terminal/"

0 commit comments

Comments
 (0)