Skip to content

Commit db0809d

Browse files
authored
Merge pull request #63 from ericgpks/fix/update_ruby_version
update ruby version to install to 3.1.2
2 parents 1414493 + 23d5ceb commit db0809d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

rails-install-ubuntu.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ curl -sSL https://get.rvm.io | bash -s stable
2929
source ~/.rvm/scripts/rvm
3030

3131
echo "Installs Ruby"
32-
rvm install 2.6.3
33-
rvm use 2.6.3 --default
32+
rvm install 3.1.2
33+
rvm use 3.1.2 --default
3434

3535
echo "gem: --no-ri --no-rdoc" > ~/.gemrc
3636
gem install rails
@@ -43,9 +43,9 @@ echo -n "Should be sqlite 3.22.0 or higher: sqlite "
4343
sqlite3 --version
4444
echo -n "Should be rvm 1.29.8 or higher: "
4545
rvm --version | sed '/^.*$/N;s/\n//g' | cut -c 1-11
46-
echo -n "Should be ruby 2.6.3: "
46+
echo -n "Should be ruby 3.0 or higher: "
4747
ruby -v | cut -d " " -f 2
48-
echo -n "Should be Rails 5.2.3 or higher: "
48+
echo -n "Should be Rails 7.0 or higher: "
4949
rails -v
5050
echo -e "\n- - - - - -\n"
5151

@@ -61,6 +61,6 @@ Make sure that all works well by running the application generator command:
6161
If you encounter the message:
6262
The program 'rails' is currently not installed.
6363
64-
It is just a hiccup with the shell, solutions:
64+
It is just a hiccup with the shell, solutions:
6565
$ source ~/.rvm/scripts/rvm
6666
Allow login shell, example http://rvm.io/integration/gnome-terminal/"

0 commit comments

Comments
 (0)