Merge branch 'update-ruby-version' into 'master'

Update Ruby version from 2.5.3 to 2.6.0

See merge request mastodon/docs!25
This commit is contained in:
Eugen Rochko 2019-02-07 02:41:28 +01:00
commit b39b303a6d
1 changed files with 3 additions and 3 deletions

View File

@ -181,11 +181,11 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
Once this is done, we can install the correct Ruby version:
```sh
RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 2.5.3
rbenv global 2.5.3
RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 2.6.0
rbenv global 2.6.0
```
Default gem version shipped with ruby_2.5.3 is incompatible with latest bundler, so we need to update gem:
Default gem version shipped with ruby_2.6.0 is incompatible with latest bundler, so we need to update gem:
```
gem update --system