# HG changeset patch # User Nattee Niparnan # Date 2022-01-15 09:13:55 # Node ID 7ceba92b053f3da1eadcfeef64f859c2f32d5558 # Parent 0b2fef7e124677771dbad87c3d64d9c262997723 update to 3.1.0, update rdoc diff --git a/.ruby-version b/.ruby-version --- a/.ruby-version +++ b/.ruby-version @@ -1,1 +1,1 @@ -ruby-3.0.2 +ruby-3.1.0 diff --git a/Gemfile b/Gemfile --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ source 'https://rubygems.org' git_source(:github) { |repo| "https://github.com/#{repo}.git" } -ruby '3.0.2' +ruby '3.1.0' #rails gem 'rails', '~>7.0' diff --git a/Gemfile.lock b/Gemfile.lock --- a/Gemfile.lock +++ b/Gemfile.lock @@ -178,7 +178,7 @@ method_source (1.0.0) mini_mime (1.1.2) minitest (5.15.0) - minitest-reporters (1.4.3) + minitest-reporters (1.5.0) ansi builder minitest (>= 5.0) @@ -367,7 +367,7 @@ yaml_db RUBY VERSION - ruby 3.0.2p107 + ruby 3.1.0p0 BUNDLED WITH 2.3.5 diff --git a/README.rdoc b/README.rdoc --- a/README.rdoc +++ b/README.rdoc @@ -45,9 +45,13 @@ cafe@grader:~$ sudo apt-get update cafe@grader:~$ sudo apt-get install rvm -This is very important. You have to logout and login again since RVM change a lots of system. +We also need to add our user to the rvm group + + sudo usermod -a -G rvm $USER -If you are using GUI version of Ubuntu, be sure to have Gnome Terminal (or any other terminal you are using) perform login every time. This can be done by mark the check box "Run command as a login shell" in Gnome terminal or by adding --login to bash. +This is very important. +1. You have to reboot since RVM change a lots of system. +2. If you are using GUI version of Ubuntu, be sure to have Gnome Terminal (or any other terminal you are using) perform login every time. This can be done by mark the check box "Run command as a login shell" in Gnome terminal or by adding --login to bash. === 3. Install necessary package