Skip to content

Commit

Permalink
Upgrade Ruby to 2.6.1 (#1711)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
rhymes authored and benhalpern committed Feb 6, 2019
1 parent b927903 commit dd63720
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.0
2.6.1
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cache:
- node_modules
- $HOME/.nvm
rvm:
- 2.6.0
- 2.6.1
addons:
postgresql: '9.6'
chrome: stable
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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 -
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ DEPENDENCIES
zonebie (~> 0.6.1)

RUBY VERSION
ruby 2.6.0p0
ruby 2.6.1p33

BUNDLED WITH
1.17.3
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/installation/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
2 changes: 1 addition & 1 deletion docs/installation/mac-os.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions docs/installation/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit dd63720

Please sign in to comment.