Chore: Bump ruby version to 2.7.0 in docs (#744)
This commit is contained in:
parent
941fbb0d72
commit
5736f687e8
3 changed files with 11 additions and 11 deletions
|
@ -37,19 +37,19 @@ source ~/.rvm/scripts/rvm
|
|||
|
||||
### Install Ruby
|
||||
|
||||
Chatwoot APIs are built on Ruby on Rails, you need install ruby 2.6.5
|
||||
Chatwoot APIs are built on Ruby on Rails, you need install ruby 2.7.0
|
||||
|
||||
If you are using `rvm` :
|
||||
|
||||
```bash
|
||||
rvm install ruby-2.6.5
|
||||
rvm use 2.6.5
|
||||
rvm install ruby-2.7.0
|
||||
rvm use 2.7.0
|
||||
```
|
||||
|
||||
If you are using `rbenv` to manage ruby versions do :
|
||||
|
||||
```bash
|
||||
rbenv install 2.6.5
|
||||
rbenv install 2.7.0
|
||||
```
|
||||
|
||||
`rbenv` identifies the ruby version from `.ruby-version` file on the root of the project and loads it automatically.
|
||||
|
|
|
@ -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 install ruby 2.6.5
|
||||
Chatwoot APIs are built on Ruby on Rails, you need install ruby 2.7.0
|
||||
|
||||
```bash
|
||||
rvm install ruby-2.6.5
|
||||
rvm install ruby-2.7.0
|
||||
```
|
||||
|
||||
Use ruby 2.6.5 as default
|
||||
Use ruby 2.7.0 as default
|
||||
|
||||
```bash
|
||||
rvm use 2.6.5 --default
|
||||
rvm use 2.7.0 --default
|
||||
```
|
||||
|
||||
### Install Node.js
|
||||
|
|
|
@ -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.6.5
|
||||
Install RVM & ruby version 2.7.0
|
||||
|
||||
```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.6.5
|
||||
rvm use 2.6.5 --default
|
||||
rvm install 2.7.0
|
||||
rvm use 2.7.0 --default
|
||||
ruby -v
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue