Skip to content

Commit

Permalink
doc: update ruby version to 3.0.2 (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush-0x90 committed Jan 14, 2022
1 parent c7e82e4 commit 4ff8c4b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/contributing-guide/environment-setup/mac-os.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ curl -L https://get.rvm.io | bash -s stable

### Install Ruby

Chatwoot APIs are built on Ruby on Rails, you need install ruby 2.7.2
Chatwoot APIs are built on Ruby on Rails, you need install ruby 3.0.2

If you are using `rvm` :

Expand Down
8 changes: 4 additions & 4 deletions docs/contributing-guide/environment-setup/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.2:
Chatwoot APIs are built on Ruby on Rails. You need to install ruby 3.0.2:

```bash
rvm install ruby-2.7.2
rvm install ruby-3.0.2
```

Use ruby 2.7.2 as default:
Use ruby 3.0.2 as default:

```bash
rvm use 2.7.2 --default
rvm use 3.0.2 --default
```

### Install Node.js
Expand Down
6 changes: 3 additions & 3 deletions docs/contributing-guide/environment-setup/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.2
Install RVM & ruby version 3.0.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.2
rvm use 2.7.2 --default
rvm install 3.0.2
rvm use 3.0.2 --default
ruby -v
```

Expand Down

0 comments on commit 4ff8c4b

Please sign in to comment.