From 801a9cf6377a37adad662d010fcf053a81b42752 Mon Sep 17 00:00:00 2001 From: sau226 <32805612+sau226@users.noreply.github.com> Date: Mon, 4 Mar 2019 19:34:22 +0800 Subject: [PATCH] Ruby version update (#7100) --- docs/DEVELOPER-ADVANCED.md | 4 ++-- docs/DEVELOPMENT-OSX-NATIVE.md | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/DEVELOPER-ADVANCED.md b/docs/DEVELOPER-ADVANCED.md index 92eb623cecc..af04d7cfd99 100644 --- a/docs/DEVELOPER-ADVANCED.md +++ b/docs/DEVELOPER-ADVANCED.md @@ -21,8 +21,8 @@ To get your Ubuntu 16.04 or 18.04 LTS install up and running to develop Discours # exit the terminal and open it again to activate RVM - rvm install 2.5.3 - rvm --default use 2.5.3 # If this error out check https://rvm.io/integration/gnome-terminal + rvm install 2.6.1 + rvm --default use 2.6.1 # If this error out check https://rvm.io/integration/gnome-terminal gem install bundler mailcatcher rake # Download and install postgresql-10 from https://wiki.postgresql.org/wiki/Apt diff --git a/docs/DEVELOPMENT-OSX-NATIVE.md b/docs/DEVELOPMENT-OSX-NATIVE.md index 4e03a192c9b..0abb858b1b9 100644 --- a/docs/DEVELOPMENT-OSX-NATIVE.md +++ b/docs/DEVELOPMENT-OSX-NATIVE.md @@ -4,7 +4,7 @@ These instructions assume you have read and understood the **[Discourse Advanced OS X has become a popular platform for developing Ruby on Rails applications; as such, if you run OS X, you might find it more congenial to work on **[Discourse](https://www.discourse.org)** in your native environment. These instructions should get you there. -Obviously, if you **already** develop Ruby on OS X, a lot of this will be redundant, because you'll have already done it, or something like it. If that's the case, you may well be able to just install Ruby 2.5+ using RVM and get started! Discourse has enough dependencies, however (note: not a criticism!) that there's a good chance you'll find **something** else in this document that's useful for getting your Discourse development started! +Obviously, if you **already** develop Ruby on OS X, a lot of this will be redundant, because you'll have already done it, or something like it. If that's the case, you may well be able to just install Ruby 2.6+ using RVM and get started! Discourse has enough dependencies, however (note: not a criticism!) that there's a good chance you'll find **something** else in this document that's useful for getting your Discourse development started! ## Quick Setup @@ -76,11 +76,11 @@ If you do already have RVM installed, this should make sure everything is up to # If autolibs is set to 0-2, it will give an error for things that are missing, instead. rvm requirements -Either way, you'll now want to install Ruby 2.5+ (we recommend 2.5.2 or higher). +Either way, you'll now want to install Ruby 2.6+ (we recommend 2.6.1 or higher). # Now, install Ruby - rvm install 2.5.3 - rvm use 2.5.3 --default # Careful with this if you're already developing Ruby + rvm install 2.6.1 + rvm use 2.6.1 --default # Careful with this if you're already developing Ruby ## Git