diff --git a/docs/development/environment-setup/mac-os.md b/docs/development/environment-setup/mac-os.md index 860291e79..9a1d456ad 100644 --- a/docs/development/environment-setup/mac-os.md +++ b/docs/development/environment-setup/mac-os.md @@ -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. diff --git a/docs/development/environment-setup/ubuntu.md b/docs/development/environment-setup/ubuntu.md index 8d62d7b54..ed062226a 100644 --- a/docs/development/environment-setup/ubuntu.md +++ b/docs/development/environment-setup/ubuntu.md @@ -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 diff --git a/docs/development/environment-setup/windows.md b/docs/development/environment-setup/windows.md index d3943cefc..144f09c36 100644 --- a/docs/development/environment-setup/windows.md +++ b/docs/development/environment-setup/windows.md @@ -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 ```