chore: bump ruby from 2.7.1 to 2.7.2 (#1426)

Closes:  #1399
This commit is contained in:
Adam Zysko
2020-11-20 11:08:13 +01:00
committed by GitHub
parent 29bd05ccfb
commit 61d26f71c1
13 changed files with 27 additions and 28 deletions

View File

@@ -37,19 +37,19 @@ source ~/.rvm/scripts/rvm
### Install Ruby
Chatwoot APIs are built on Ruby on Rails, you need install ruby 2.7.1
Chatwoot APIs are built on Ruby on Rails, you need install ruby 2.7.2
If you are using `rvm` :
```bash
rvm install ruby-2.7.1
rvm use 2.7.1
rvm install ruby-2.7.2
rvm use 2.7.2
```
If you are using `rbenv` to manage ruby versions do :
```bash
rbenv install 2.7.1
rbenv install 2.7.2
```
`rbenv` identifies the ruby version from `.ruby-version` file on the root of the project and loads it automatically.

View File

@@ -33,16 +33,16 @@ Enable `Run command as a login shell` in terminal `Preferences`. Restart your co
### Install Ruby
Chatwoot APIs are built on Ruby on Rails. You need to install ruby 2.7.1:
Chatwoot APIs are built on Ruby on Rails. You need to install ruby 2.7.2:
```bash
rvm install ruby-2.7.1
rvm install ruby-2.7.2
```
Use ruby 2.7.1 as default:
Use ruby 2.7.2 as default:
```bash
rvm use 2.7.1 --default
rvm use 2.7.2 --default
```
### Install Node.js

View File

@@ -26,15 +26,15 @@ sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev
```
Install RVM & ruby version 2.7.1
Install RVM & ruby version 2.7.2
```bash
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
curl -sSL https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
rvm install 2.7.1
rvm use 2.7.1 --default
rvm install 2.7.2
rvm use 2.7.2 --default
ruby -v
```