Upgrade Ruby to 2.6.1 (#1711)

* Upgrade Ruby to 2.6.1

Ruby 2.6.1 contains a fix for Net::HTTP

* Add 2.6.1 to .ruby-version as well

* Add 2.6.1 to Travis CI as well
This commit is contained in:
rhymes 2019-02-06 21:48:28 +01:00 committed by Ben Halpern
parent b9279033a4
commit dd6372012d
9 changed files with 10 additions and 10 deletions

View file

@ -1 +1 @@
2.6.0
2.6.1

View file

@ -6,7 +6,7 @@ cache:
- node_modules
- $HOME/.nvm
rvm:
- 2.6.0
- 2.6.1
addons:
postgresql: '9.6'
chrome: stable

View file

@ -1,4 +1,4 @@
FROM ruby:2.6.0
FROM ruby:2.6.1
# Make nodejs and yarn as dependencies
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -

View file

@ -1,6 +1,6 @@
# rubocop:disable LineLength
source "https://rubygems.org"
ruby "2.6.0"
ruby "2.6.1"
# Enforce git to transmitted via https.
# workaround until bundler 2.0 is released.

View file

@ -1070,7 +1070,7 @@ DEPENDENCIES
zonebie (~> 0.6.1)
RUBY VERSION
ruby 2.6.0p0
ruby 2.6.1p33
BUNDLED WITH
1.17.3

View file

@ -11,7 +11,7 @@
<br/>
<p align="center">
<a href="https://www.ruby-lang.org/en/">
<img src="https://img.shields.io/badge/Ruby-v2.6.0-green.svg" alt="ruby version"/>
<img src="https://img.shields.io/badge/Ruby-v2.6.1-green.svg" alt="ruby version"/>
</a>
<a href="http://rubyonrails.org/">
<img src="https://img.shields.io/badge/Rails-v5.1.6-brightgreen.svg" alt="rails version"/>

View file

@ -5,7 +5,7 @@ These prerequisites assume you're working on a Linux-based operating system but
### Ruby
1. If you don't already have a Ruby version manager, we highly recommend [rbenv](https://github.com/rbenv/rbenv). Please follow their [installation guide](https://github.com/rbenv/rbenv#installation).
2. With the Ruby version manager, install the Ruby version listed on our badge. (ie with rbenv: `rbenv install 2.6.0`)
2. With the Ruby version manager, install the Ruby version listed on our badge. (ie with rbenv: `rbenv install 2.6.1`)
For very detailed rbenv installation directions on several distros, please visit [DigitalOcean's guide](https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rbenv-on-ubuntu-18-04).

View file

@ -3,7 +3,7 @@
### Ruby
1. If you don't already have a Ruby version manager, we highly recommend [rbenv](https://github.com/rbenv/rbenv). Please follow their [installation guide](https://github.com/rbenv/rbenv#installation).
2. With the Ruby version manager, install the Ruby version listed on our badge. (ie with rbenv: `rbenv install 2.6.0`)
2. With the Ruby version manager, install the Ruby version listed on our badge. (ie with rbenv: `rbenv install 2.6.1`)
### Yarn

View file

@ -36,8 +36,8 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
exec $SHELL
rbenv install 2.6.0
rbenv global 2.6.0
rbenv install 2.6.1
rbenv global 2.6.1
ruby -v
```