Rails と Ruby のアップデート
Rails と Ruby のアップデート
アップデート内容
Ruby
:2.5.0
->2.6.1
Rails
:5.1.4
->5.2.2
Ruby のアップデート
rbenv と ruby-build のアップデート
$ brew upgrade rbenv ruby-build
rbenv
Ruby
のバージョン管理を行うツール。
ruby-build
rbenv
のプラグイン。
rbenv install
コマンドが使えるようになる。
インストールできるバージョンの確認
$ rbenv install
Available versions:
1.8.5-p52
...
2.6.0
2.6.1
2.7.0-dev
jruby-1.5.6
jruby-1.6.3
jruby-1.6.4
...
2.6.1
が出ない。
一応インストール
$ rbenv install 2.6.1
ruby-build: definition not found: 2.6.1
See all available versions with `rbenv install --list'.
If the version you need is missing, try upgrading ruby-build:
cd /Users/xxxxxx/.rbenv/plugins/ruby-build && git pull && cd -
だめだった。
ruby-build
をアップグレードしてと言われたので、やってみる。
$ cd /Users/xxxxxx/.rbenv/plugins/ruby-build && git pull && cd -
remote: Enumerating objects: 540, done.
remote: Counting objects: 100% (540/540), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 810 (delta 534), reused 539 (delta 534), pack-reused 270
Receiving objects: 100% (810/810), 216.66 KiB | 469.00 KiB/s, done.
Resolving deltas: 100% (619/619), completed with 182 local objects.
From https://github.com/sstephenson/ruby-build
d7fa3ad..0e33b11 master -> origin/master
* [new tag] v20180601 -> v20180601
* [new tag] v20180618 -> v20180618
* [new tag] v20180822 -> v20180822
* [new tag] v20181018 -> v20181018
* [new tag] v20181019 -> v20181019
* [new tag] v20181106 -> v20181106
* [new tag] v20181207 -> v20181207
* [new tag] v20181225 -> v20181225
* [new tag] v20190130 -> v20190130
Updating d7fa3ad..0e33b11
Fast-forward
.travis.yml | 3 +++
README.md | 8 ++++++--
bin/ruby-build | 67 ++++++++++++++++++++++++++++++++++++++++++++++++-------------------
script/update-rbx-defs | 27 +++++++++++++++++++++++++++
script/update-truffleruby | 32 ++++++++++++++++++++++++++++++++
share/ruby-build/1.9.3-dev | 2 +-
share/ruby-build/1.9.3-p0 | 2 +-
share/ruby-build/1.9.3-p105 | 2 +-
share/ruby-build/1.9.3-p125 | 2 +-
share/ruby-build/1.9.3-p194 | 2 +-
share/ruby-build/1.9.3-p286 | 2 +-
share/ruby-build/1.9.3-p327 | 2 +-
share/ruby-build/1.9.3-p362 | 2 +-
share/ruby-build/1.9.3-p374 | 2 +-
share/ruby-build/1.9.3-p385 | 2 +-
share/ruby-build/1.9.3-p392 | 2 +-
share/ruby-build/1.9.3-p426 | 2 +-
share/ruby-build/1.9.3-p429 | 2 +-
share/ruby-build/1.9.3-p448 | 2 +-
share/ruby-build/1.9.3-p484 | 2 +-
share/ruby-build/1.9.3-p545 | 2 +-
share/ruby-build/1.9.3-p547 | 2 +-
share/ruby-build/1.9.3-p550 | 2 +-
share/ruby-build/1.9.3-p551 | 2 +-
share/ruby-build/1.9.3-preview1 | 2 +-
share/ruby-build/1.9.3-rc1 | 2 +-
share/ruby-build/2.0.0-dev | 2 +-
share/ruby-build/2.0.0-p0 | 2 +-
share/ruby-build/2.0.0-p195 | 2 +-
share/ruby-build/2.0.0-p247 | 2 +-
share/ruby-build/2.0.0-p353 | 2 +-
share/ruby-build/2.0.0-p451 | 2 +-
share/ruby-build/2.0.0-p481 | 2 +-
share/ruby-build/2.0.0-p576 | 2 +-
share/ruby-build/2.0.0-p594 | 2 +-
share/ruby-build/2.0.0-p598 | 2 +-
share/ruby-build/2.0.0-p643 | 2 +-
share/ruby-build/2.0.0-p645 | 2 +-
share/ruby-build/2.0.0-p647 | 2 +-
share/ruby-build/2.0.0-p648 | 2 +-
share/ruby-build/2.0.0-preview1 | 2 +-
share/ruby-build/2.0.0-preview2 | 2 +-
share/ruby-build/2.0.0-rc1 | 2 +-
share/ruby-build/2.0.0-rc2 | 2 +-
share/ruby-build/2.1.0 | 2 +-
share/ruby-build/2.1.0-dev | 2 +-
share/ruby-build/2.1.0-preview1 | 2 +-
share/ruby-build/2.1.0-preview2 | 2 +-
share/ruby-build/2.1.0-rc1 | 2 +-
share/ruby-build/2.1.1 | 2 +-
share/ruby-build/2.1.10 | 2 +-
share/ruby-build/2.1.2 | 2 +-
share/ruby-build/2.1.3 | 2 +-
share/ruby-build/2.1.4 | 2 +-
share/ruby-build/2.1.5 | 2 +-
share/ruby-build/2.1.6 | 2 +-
share/ruby-build/2.1.7 | 2 +-
share/ruby-build/2.1.8 | 2 +-
share/ruby-build/2.1.9 | 2 +-
share/ruby-build/2.2.0 | 2 +-
share/ruby-build/2.2.0-dev | 2 +-
share/ruby-build/2.2.0-preview1 | 2 +-
share/ruby-build/2.2.0-preview2 | 2 +-
share/ruby-build/2.2.0-rc1 | 2 +-
share/ruby-build/2.2.1 | 2 +-
share/ruby-build/2.2.10 | 2 +-
share/ruby-build/2.2.2 | 2 +-
share/ruby-build/2.2.3 | 2 +-
share/ruby-build/2.2.4 | 2 +-
share/ruby-build/2.2.5 | 2 +-
share/ruby-build/2.2.6 | 2 +-
share/ruby-build/2.2.7 | 2 +-
share/ruby-build/2.2.8 | 2 +-
share/ruby-build/2.2.9 | 2 +-
share/ruby-build/2.3.0 | 2 +-
share/ruby-build/2.3.0-dev | 2 +-
share/ruby-build/2.3.0-preview1 | 2 +-
share/ruby-build/2.3.0-preview2 | 2 +-
share/ruby-build/2.3.1 | 2 +-
share/ruby-build/2.3.2 | 2 +-
share/ruby-build/2.3.3 | 2 +-
share/ruby-build/2.3.4 | 2 +-
share/ruby-build/2.3.5 | 2 +-
share/ruby-build/2.3.6 | 2 +-
share/ruby-build/2.3.7 | 2 +-
share/ruby-build/2.3.8 | 2 ++
share/ruby-build/2.4.0 | 2 +-
share/ruby-build/2.4.0-dev | 2 +-
share/ruby-build/2.4.0-preview1 | 2 +-
share/ruby-build/2.4.0-preview2 | 2 +-
share/ruby-build/2.4.0-preview3 | 2 +-
share/ruby-build/2.4.0-rc1 | 2 +-
share/ruby-build/2.4.1 | 2 +-
share/ruby-build/2.4.2 | 2 +-
share/ruby-build/2.4.3 | 2 +-
share/ruby-build/2.4.4 | 2 +-
share/ruby-build/2.4.5 | 2 ++
share/ruby-build/2.5.0 | 2 +-
share/ruby-build/2.5.0-dev | 2 +-
share/ruby-build/2.5.0-preview1 | 2 +-
share/ruby-build/2.5.0-rc1 | 2 +-
share/ruby-build/2.5.1 | 2 +-
share/ruby-build/2.5.2 | 2 ++
share/ruby-build/2.5.3 | 2 ++
share/ruby-build/2.6.0 | 2 ++
share/ruby-build/2.6.0-dev | 4 ++--
share/ruby-build/2.6.0-preview1 | 2 +-
share/ruby-build/2.6.0-preview2 | 2 ++
share/ruby-build/2.6.0-preview3 | 2 ++
share/ruby-build/2.6.0-rc1 | 2 ++
share/ruby-build/2.6.0-rc2 | 2 ++
share/ruby-build/2.6.1 | 2 ++
share/ruby-build/2.7.0-dev | 2 ++
share/ruby-build/jruby-9.2.0.0 | 2 ++
share/ruby-build/jruby-9.2.1.0 | 2 ++
share/ruby-build/jruby-9.2.1.0-dev | 2 ++
share/ruby-build/jruby-9.2.3.0 | 2 ++
share/ruby-build/jruby-9.2.4.0 | 2 ++
share/ruby-build/jruby-9.2.4.1 | 2 ++
share/ruby-build/jruby-9.2.5.0 | 2 ++
share/ruby-build/jruby-9.2.6.0 | 2 ++
share/ruby-build/mruby-1.4.0 | 1 +
share/ruby-build/mruby-1.4.1 | 1 +
share/ruby-build/mruby-2.0.0 | 1 +
share/ruby-build/rbx-2.10 | 2 +-
share/ruby-build/rbx-2.11 | 2 +-
share/ruby-build/rbx-2.5.8 | 2 +-
share/ruby-build/rbx-2.6 | 2 +-
share/ruby-build/rbx-2.7 | 2 +-
share/ruby-build/rbx-2.71828182 | 2 +-
share/ruby-build/rbx-2.8 | 2 +-
share/ruby-build/rbx-2.9 | 2 +-
share/ruby-build/rbx-3.0 | 2 +-
share/ruby-build/rbx-3.1 | 2 +-
share/ruby-build/rbx-3.10 | 2 +-
share/ruby-build/rbx-3.100 | 2 +-
share/ruby-build/rbx-3.101 | 3 +++
share/ruby-build/rbx-3.102 | 3 +++
share/ruby-build/rbx-3.103 | 3 +++
share/ruby-build/rbx-3.104 | 3 +++
share/ruby-build/rbx-3.105 | 3 +++
share/ruby-build/rbx-3.106 | 3 +++
share/ruby-build/rbx-3.107 | 3 +++
share/ruby-build/rbx-3.11 | 2 +-
share/ruby-build/rbx-3.12 | 2 +-
share/ruby-build/rbx-3.13 | 2 +-
share/ruby-build/rbx-3.14 | 2 +-
share/ruby-build/rbx-3.15 | 2 +-
share/ruby-build/rbx-3.16 | 2 +-
share/ruby-build/rbx-3.17 | 2 +-
share/ruby-build/rbx-3.18 | 2 +-
share/ruby-build/rbx-3.19 | 2 +-
share/ruby-build/rbx-3.2 | 2 +-
share/ruby-build/rbx-3.20 | 2 +-
share/ruby-build/rbx-3.21 | 2 +-
share/ruby-build/rbx-3.22 | 2 +-
share/ruby-build/rbx-3.23 | 2 +-
share/ruby-build/rbx-3.24 | 2 +-
share/ruby-build/rbx-3.25 | 2 +-
share/ruby-build/rbx-3.26 | 2 +-
share/ruby-build/rbx-3.27 | 2 +-
share/ruby-build/rbx-3.28 | 2 +-
share/ruby-build/rbx-3.29 | 2 +-
share/ruby-build/rbx-3.3 | 2 +-
share/ruby-build/rbx-3.30 | 2 +-
share/ruby-build/rbx-3.31 | 2 +-
share/ruby-build/rbx-3.32 | 2 +-
share/ruby-build/rbx-3.33 | 2 +-
share/ruby-build/rbx-3.34 | 2 +-
share/ruby-build/rbx-3.35 | 2 +-
share/ruby-build/rbx-3.36 | 2 +-
share/ruby-build/rbx-3.37 | 2 +-
share/ruby-build/rbx-3.38 | 2 +-
share/ruby-build/rbx-3.39 | 2 +-
share/ruby-build/rbx-3.4 | 2 +-
share/ruby-build/rbx-3.40 | 2 +-
share/ruby-build/rbx-3.41 | 2 +-
share/ruby-build/rbx-3.42 | 2 +-
share/ruby-build/rbx-3.43 | 2 +-
share/ruby-build/rbx-3.44 | 2 +-
share/ruby-build/rbx-3.45 | 2 +-
share/ruby-build/rbx-3.46 | 2 +-
share/ruby-build/rbx-3.47 | 2 +-
share/ruby-build/rbx-3.48 | 2 +-
share/ruby-build/rbx-3.49 | 2 +-
share/ruby-build/rbx-3.5 | 2 +-
share/ruby-build/rbx-3.50 | 2 +-
share/ruby-build/rbx-3.51 | 2 +-
share/ruby-build/rbx-3.52 | 2 +-
share/ruby-build/rbx-3.53 | 2 +-
share/ruby-build/rbx-3.54 | 2 +-
share/ruby-build/rbx-3.55 | 2 +-
share/ruby-build/rbx-3.56 | 2 +-
share/ruby-build/rbx-3.57 | 2 +-
share/ruby-build/rbx-3.58 | 2 +-
share/ruby-build/rbx-3.59 | 2 +-
share/ruby-build/rbx-3.6 | 2 +-
share/ruby-build/rbx-3.60 | 2 +-
share/ruby-build/rbx-3.61 | 2 +-
share/ruby-build/rbx-3.62 | 2 +-
share/ruby-build/rbx-3.63 | 2 +-
share/ruby-build/rbx-3.64 | 2 +-
share/ruby-build/rbx-3.65 | 2 +-
share/ruby-build/rbx-3.66 | 2 +-
share/ruby-build/rbx-3.67 | 2 +-
share/ruby-build/rbx-3.68 | 2 +-
share/ruby-build/rbx-3.69 | 2 +-
share/ruby-build/rbx-3.7 | 2 +-
share/ruby-build/rbx-3.70 | 2 +-
share/ruby-build/rbx-3.71 | 2 +-
share/ruby-build/rbx-3.72 | 2 +-
share/ruby-build/rbx-3.73 | 2 +-
share/ruby-build/rbx-3.74 | 2 +-
share/ruby-build/rbx-3.75 | 2 +-
share/ruby-build/rbx-3.76 | 2 +-
share/ruby-build/rbx-3.77 | 2 +-
share/ruby-build/rbx-3.78 | 2 +-
share/ruby-build/rbx-3.79 | 2 +-
share/ruby-build/rbx-3.8 | 2 +-
share/ruby-build/rbx-3.80 | 2 +-
share/ruby-build/rbx-3.81 | 2 +-
share/ruby-build/rbx-3.82 | 2 +-
share/ruby-build/rbx-3.83 | 2 +-
share/ruby-build/rbx-3.84 | 2 +-
share/ruby-build/rbx-3.85 | 2 +-
share/ruby-build/rbx-3.86 | 2 +-
share/ruby-build/rbx-3.87 | 2 +-
share/ruby-build/rbx-3.88 | 2 +-
share/ruby-build/rbx-3.89 | 2 +-
share/ruby-build/rbx-3.9 | 2 +-
share/ruby-build/rbx-3.90 | 2 +-
share/ruby-build/rbx-3.91 | 2 +-
share/ruby-build/rbx-3.92 | 2 +-
share/ruby-build/rbx-3.93 | 2 +-
share/ruby-build/rbx-3.94 | 2 +-
share/ruby-build/rbx-3.95 | 2 +-
share/ruby-build/rbx-3.96 | 2 +-
share/ruby-build/rbx-3.97 | 2 +-
share/ruby-build/rbx-3.98 | 2 +-
share/ruby-build/rbx-3.99 | 2 +-
share/ruby-build/truffleruby-1.0.0-rc10 | 7 +++++++
share/ruby-build/truffleruby-1.0.0-rc11 | 7 +++++++
share/ruby-build/truffleruby-1.0.0-rc12 | 7 +++++++
share/ruby-build/truffleruby-1.0.0-rc2 | 7 +++++++
share/ruby-build/truffleruby-1.0.0-rc3 | 7 +++++++
share/ruby-build/truffleruby-1.0.0-rc5 | 7 +++++++
share/ruby-build/truffleruby-1.0.0-rc6 | 7 +++++++
share/ruby-build/truffleruby-1.0.0-rc7 | 7 +++++++
share/ruby-build/truffleruby-1.0.0-rc8 | 7 +++++++
share/ruby-build/truffleruby-1.0.0-rc9 | 7 +++++++
test/build.bats | 14 +++++++++++++-
test/cache.bats | 2 --
test/checksum.bats | 5 -----
test/definitions.bats | 4 +++-
test/fetch.bats | 4 ++--
test/mirror.bats | 5 -----
test/test_helper.bash | 36 ++++++------------------------------
257 files changed, 479 insertions(+), 274 deletions(-)
create mode 100755 script/update-rbx-defs
create mode 100755 script/update-truffleruby
create mode 100644 share/ruby-build/2.3.8
create mode 100644 share/ruby-build/2.4.5
create mode 100644 share/ruby-build/2.5.2
create mode 100644 share/ruby-build/2.5.3
create mode 100644 share/ruby-build/2.6.0
create mode 100644 share/ruby-build/2.6.0-preview2
create mode 100644 share/ruby-build/2.6.0-preview3
create mode 100644 share/ruby-build/2.6.0-rc1
create mode 100644 share/ruby-build/2.6.0-rc2
create mode 100644 share/ruby-build/2.6.1
create mode 100644 share/ruby-build/2.7.0-dev
create mode 100644 share/ruby-build/jruby-9.2.0.0
create mode 100644 share/ruby-build/jruby-9.2.1.0
create mode 100644 share/ruby-build/jruby-9.2.1.0-dev
create mode 100644 share/ruby-build/jruby-9.2.3.0
create mode 100644 share/ruby-build/jruby-9.2.4.0
create mode 100644 share/ruby-build/jruby-9.2.4.1
create mode 100644 share/ruby-build/jruby-9.2.5.0
create mode 100644 share/ruby-build/jruby-9.2.6.0
create mode 100644 share/ruby-build/mruby-1.4.0
create mode 100644 share/ruby-build/mruby-1.4.1
create mode 100644 share/ruby-build/mruby-2.0.0
create mode 100644 share/ruby-build/rbx-3.101
create mode 100644 share/ruby-build/rbx-3.102
create mode 100644 share/ruby-build/rbx-3.103
create mode 100644 share/ruby-build/rbx-3.104
create mode 100644 share/ruby-build/rbx-3.105
create mode 100644 share/ruby-build/rbx-3.106
create mode 100644 share/ruby-build/rbx-3.107
create mode 100644 share/ruby-build/truffleruby-1.0.0-rc10
create mode 100644 share/ruby-build/truffleruby-1.0.0-rc11
create mode 100644 share/ruby-build/truffleruby-1.0.0-rc12
create mode 100644 share/ruby-build/truffleruby-1.0.0-rc2
create mode 100644 share/ruby-build/truffleruby-1.0.0-rc3
create mode 100644 share/ruby-build/truffleruby-1.0.0-rc5
create mode 100644 share/ruby-build/truffleruby-1.0.0-rc6
create mode 100644 share/ruby-build/truffleruby-1.0.0-rc7
create mode 100644 share/ruby-build/truffleruby-1.0.0-rc8
create mode 100644 share/ruby-build/truffleruby-1.0.0-rc9
~/project/project_name
ruby-2.6.1 のインストール
$ rbenv install 2.6.1
ruby-build: use openssl from homebrew
Downloading ruby-2.6.1.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.1.tar.bz2
Installing ruby-2.6.1...
ruby-build: use readline from homebrew
Installed ruby-2.6.1 to /Users/xxxxxx/.rbenv/versions/2.6.1
インストールされているか確認
$ rbenv versions
system
2.3.4
2.4.1
* 2.5.0 (set by /Users/xxxxxx/project/project_name/.ruby-version)
2.5.1
2.6.0-preview1
2.6.1
.ruby-version 変更
.ruby-version
のファイルで、Ruby
のバージョンを管理していたので変更。
$ rbenv local 2.6.1
自動的に .ruby-version
の中身が変更される。
# .ruby-version
-2.5.0
+2.6.1
ruby のバージョン確認
$ ruby -v
ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-darwin17]
$ rbenv versions
system
2.3.4
2.4.1
2.5.0
2.5.1
2.6.0-preview1
* 2.6.1 (set by /Users/xxxxxx/project/project_name/.ruby-version)
bundle exec rails c
$ bundle exec rails c
rbenv: rails: command not found
The `rails' command exists in these Ruby versions:
2.3.4
2.4.1
2.5.0
2.5.1
できないので、Rails
もアップデートする。
Rails のアップデート
Gemfile
を変更。
# Gemfile
...
gem 'puma', '~> 3.7'
-gem 'rails', '~> 5.1.4'
+gem 'rails', '~> 5.2.2'
gem 'redis', '~> 3.0'
gem 'redis-rails'
...
bundle update --conservative rails
--conservative
をつけることで他の gem のアップデートを抑制することができます。
$ bundle update --conservative rails
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Fetching https://github.com/rails/webpacker.git
Fetching https://github.com/stympy/faker.git
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Bundler could not find compatible versions for gem "activemodel":
In snapshot (Gemfile.lock):
activemodel (= 5.1.4)
In Gemfile:
counter_culture was resolved to 1.9.1, which depends on
activerecord (>= 3.0.0) was resolved to 5.1.4, which depends on
activemodel (= 5.1.4)
rails (~> 5.2.2) was resolved to 5.2.2, which depends on
activemodel (= 5.2.2)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
activemodel
も update
する。
$ bundle update --conservative rails activemodel
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Bundler could not find compatible versions for gem "actionpack":
In snapshot (Gemfile.lock):
actionpack (= 5.1.4)
In Gemfile:
rails (~> 5.2.2) was resolved to 5.2.2, which depends on
actionpack (= 5.2.2)
web-console (>= 3.3.0) was resolved to 3.5.1, which depends on
railties (>= 5.0) was resolved to 5.1.4, which depends on
actionpack (= 5.1.4)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
上のように、update
しないといけないものを追加していく。
略。
$ bundle update --conservative rails activerecord actionpack activemodel activesupport actionview railties dotenv-rails dotenv
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies.....
Fetching rake 12.3.0
Installing rake 12.3.0
Fetching concurrent-ruby 1.0.5
Installing concurrent-ruby 1.0.5
Fetching i18n 0.9.5
Installing i18n 0.9.5
Using minitest 5.11.3
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.5
Installing tzinfo 1.2.5
Fetching activesupport 5.2.2 (was 5.1.4)
Installing activesupport 5.2.2 (was 5.1.4)
Fetching builder 3.2.3
Installing builder 3.2.3
Fetching erubi 1.8.0 (was 1.7.0)
Installing erubi 1.8.0 (was 1.7.0)
Fetching mini_portile2 2.3.0
Installing mini_portile2 2.3.0
Fetching nokogiri 1.8.2
Installing nokogiri 1.8.2 with native extensions
Fetching rails-dom-testing 2.0.3
Installing rails-dom-testing 2.0.3
Fetching crass 1.0.4 (was 1.0.3)
Installing crass 1.0.4 (was 1.0.3)
Fetching loofah 2.2.3 (was 2.2.0)
Installing loofah 2.2.3 (was 2.2.0)
Fetching rails-html-sanitizer 1.0.4 (was 1.0.3)
Installing rails-html-sanitizer 1.0.4 (was 1.0.3)
Fetching actionview 5.2.2 (was 5.1.4)
Installing actionview 5.2.2 (was 5.1.4)
Fetching rack 2.0.4
Installing rack 2.0.4
Fetching rack-test 0.8.2
Installing rack-test 0.8.2
Fetching actionpack 5.2.2 (was 5.1.4)
Installing actionpack 5.2.2 (was 5.1.4)
Fetching nio4r 2.3.1 (was 2.2.0)
Installing nio4r 2.3.1 (was 2.2.0) with native extensions
Fetching websocket-extensions 0.1.3
Installing websocket-extensions 0.1.3
Fetching websocket-driver 0.7.0 (was 0.6.5)
Installing websocket-driver 0.7.0 (was 0.6.5) with native extensions
Fetching actioncable 5.2.2 (was 5.1.4)
Installing actioncable 5.2.2 (was 5.1.4)
Fetching globalid 0.4.2 (was 0.4.1)
Installing globalid 0.4.2 (was 0.4.1)
Fetching activejob 5.2.2 (was 5.1.4)
Installing activejob 5.2.2 (was 5.1.4)
Fetching mini_mime 1.0.0
Installing mini_mime 1.0.0
Fetching mail 2.7.1 (was 2.7.0)
Installing mail 2.7.1 (was 2.7.0)
Fetching actionmailer 5.2.2 (was 5.1.4)
Installing actionmailer 5.2.2 (was 5.1.4)
Fetching active_hash 1.5.3
Installing active_hash 1.5.3
Fetching activemodel 5.2.2 (was 5.1.4)
Installing activemodel 5.2.2 (was 5.1.4)
Fetching activemodel-serializers-xml 1.0.2
Installing activemodel-serializers-xml 1.0.2
Fetching arel 9.0.0 (was 8.0.0)
Installing arel 9.0.0 (was 8.0.0)
Fetching activerecord 5.2.2 (was 5.1.4)
Installing activerecord 5.2.2 (was 5.1.4)
Fetching mimemagic 0.3.3
Installing mimemagic 0.3.3
Fetching marcel 0.3.3
Installing marcel 0.3.3
Fetching activestorage 5.2.2
Installing activestorage 5.2.2
Fetching public_suffix 3.0.2
Installing public_suffix 3.0.2
Fetching addressable 2.5.2
Installing addressable 2.5.2
Fetching after_commit_action 1.1.0
Installing after_commit_action 1.1.0
Fetching rbtree3 0.5.0
Installing rbtree3 0.5.0 with native extensions
Fetching airbrake-ruby 3.2.4
Installing airbrake-ruby 3.2.4
Fetching airbrake 8.1.2
Installing airbrake 8.1.2
Fetching annotate 2.7.2
Installing annotate 2.7.2
Fetching ast 2.4.0
Installing ast 2.4.0
Fetching awesome_print 1.8.0
Installing awesome_print 1.8.0
Fetching bindex 0.5.0
Installing bindex 0.5.0 with native extensions
Fetching brakeman 4.1.1
Installing brakeman 4.1.1
Fetching uniform_notifier 1.11.0
Installing uniform_notifier 1.11.0
Fetching bullet 5.7.5
Installing bullet 5.7.5
Using bundler 1.17.2
Fetching byebug 10.0.0
Installing byebug 10.0.0 with native extensions
Fetching xpath 3.0.0
Installing xpath 3.0.0
Fetching capybara 2.18.0
Installing capybara 2.18.0
Fetching ffi 1.9.21
Installing ffi 1.9.21 with native extensions
Fetching childprocess 0.8.0
Installing childprocess 0.8.0
Fetching chronic 0.10.2
Installing chronic 0.10.2
Fetching coderay 1.1.2
Installing coderay 1.1.2
Fetching deep_merge 1.2.1
Installing deep_merge 1.2.1
Fetching dry-configurable 0.7.0
Installing dry-configurable 0.7.0
Fetching dry-core 0.4.4
Installing dry-core 0.4.4
Fetching dry-equalizer 0.2.0
Installing dry-equalizer 0.2.0
Fetching dry-container 0.6.0
Installing dry-container 0.6.0
Fetching dry-logic 0.4.2
Installing dry-logic 0.4.2
Fetching inflecto 0.0.2
Installing inflecto 0.0.2
Fetching dry-types 0.12.2
Installing dry-types 0.12.2
Fetching dry-validation 0.11.1
Installing dry-validation 0.11.1
Fetching config 1.7.0
Installing config 1.7.0
Fetching counter_culture 1.9.1
Installing counter_culture 1.9.1
Fetching database_cleaner 1.6.2
Installing database_cleaner 1.6.2
Fetching declarative 0.0.10
Installing declarative 0.0.10
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.3
Installing diff-lcs 1.3
Fetching dotenv 2.7.1 (was 2.2.1)
Installing dotenv 2.7.1 (was 2.2.1)
Fetching method_source 0.9.0
Installing method_source 0.9.0
Fetching thor 0.20.0
Installing thor 0.20.0
Fetching railties 5.2.2 (was 5.1.4)
Installing railties 5.2.2 (was 5.1.4)
Fetching dotenv-rails 2.7.1 (was 2.2.1)
Installing dotenv-rails 2.7.1 (was 2.2.1)
Fetching request_store 1.4.0
Installing request_store 1.4.0
Fetching draper 3.0.1
Installing draper 3.0.1
Fetching enum_help 0.0.17
Installing enum_help 0.0.17
Fetching execjs 2.7.0
Installing execjs 2.7.0
Fetching factory_bot 4.8.2
Installing factory_bot 4.8.2
Fetching factory_bot_rails 4.8.2
Installing factory_bot_rails 4.8.2
Using faker 1.8.7 from https://github.com/stympy/faker.git (at master@679fd50)
Fetching multipart-post 2.0.0
Installing multipart-post 2.0.0
Fetching faraday 0.15.1
Installing faraday 0.15.1
Fetching foreman 0.63.0
Installing foreman 0.63.0
Fetching jwt 2.1.0
Installing jwt 2.1.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching multi_json 1.13.1
Installing multi_json 1.13.1
Fetching logging 2.2.2
Installing logging 2.2.2
Fetching memoist 0.16.0
Installing memoist 0.16.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.8.1
Installing signet 0.8.1
Fetching googleauth 0.6.2
Installing googleauth 0.6.2
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mime-types-data 3.2016.0521
Installing mime-types-data 3.2016.0521
Fetching mime-types 3.1
Installing mime-types 3.1
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.1
Installing retriable 3.1.1
Fetching google-api-client 0.21.2
Installing google-api-client 0.21.2
Fetching google_drive 2.1.11
Installing google_drive 2.1.11
Fetching sprockets 3.7.1
Installing sprockets 3.7.1
Fetching sprockets-rails 3.2.1
Installing sprockets-rails 3.2.1
Fetching rails 5.2.2 (was 5.1.4)
Installing rails 5.2.2 (was 5.1.4)
Fetching gretel 3.0.9
Installing gretel 3.0.9
Fetching hirb 0.7.3
Installing hirb 0.7.3
Fetching jbuilder 2.7.0
Installing jbuilder 2.7.0
Fetching kaminari-core 1.1.1
Installing kaminari-core 1.1.1
Fetching kaminari-actionview 1.1.1
Installing kaminari-actionview 1.1.1
Fetching kaminari-activerecord 1.1.1
Installing kaminari-activerecord 1.1.1
Fetching kaminari 1.1.1
Installing kaminari 1.1.1
Fetching launchy 2.4.3
Installing launchy 2.4.3
Fetching letter_opener 1.6.0
Installing letter_opener 1.6.0
Fetching rb-fsevent 0.10.2
Installing rb-fsevent 0.10.2
Fetching rb-inotify 0.9.10
Installing rb-inotify 0.9.10
Fetching ruby_dep 1.5.0
Installing ruby_dep 1.5.0
Fetching listen 3.1.5
Installing listen 3.1.5
Fetching meta-tags 2.8.0
Installing meta-tags 2.8.0
Fetching mysql2 0.4.10
Installing mysql2 0.4.10 with native extensions
Fetching parallel 1.12.1
Installing parallel 1.12.1
Fetching parser 2.4.0.2
Installing parser 2.4.0.2
Fetching powerpack 0.1.1
Installing powerpack 0.1.1
Fetching pry 0.11.3
Installing pry 0.11.3
Fetching pry-byebug 3.6.0
Installing pry-byebug 3.6.0
Fetching yard 0.9.12
Installing yard 0.9.12
Fetching pry-doc 0.12.0
Installing pry-doc 0.12.0
Fetching pry-rails 0.3.6
Installing pry-rails 0.3.6
Fetching puma 3.11.2
Installing puma 3.11.2 with native extensions
Fetching rack-mini-profiler 1.0.0
Installing rack-mini-profiler 1.0.0
Fetching rack-proxy 0.6.3
Installing rack-proxy 0.6.3
Fetching rails-controller-testing 1.0.2
Installing rails-controller-testing 1.0.2
Fetching rainbow 3.0.0
Installing rainbow 3.0.0
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching redis-store 1.4.1
Installing redis-store 1.4.1
Fetching redis-rack 2.0.4
Installing redis-rack 2.0.4
Fetching redis-actionpack 5.0.2
Installing redis-actionpack 5.0.2
Fetching redis-activesupport 5.0.4
Installing redis-activesupport 5.0.4
Fetching redis-rails 5.0.2
Installing redis-rails 5.0.2
Fetching roboto 1.0.1
Installing roboto 1.0.1
Fetching rspec-support 3.7.1
Installing rspec-support 3.7.1
Fetching rspec-core 3.7.1
Installing rspec-core 3.7.1
Fetching rspec-expectations 3.7.0
Installing rspec-expectations 3.7.0
Fetching rspec-mocks 3.7.0
Installing rspec-mocks 3.7.0
Fetching rspec-rails 3.7.2
Installing rspec-rails 3.7.2
Fetching rspec_junit_formatter 0.3.0
Installing rspec_junit_formatter 0.3.0
Fetching ruby-progressbar 1.9.0
Installing ruby-progressbar 1.9.0
Fetching unicode-display_width 1.3.0
Installing unicode-display_width 1.3.0
Fetching rubocop 0.52.1
Installing rubocop 0.52.1
Fetching rubyzip 1.2.1
Installing rubyzip 1.2.1
Fetching sass-listen 4.0.0
Installing sass-listen 4.0.0
Fetching sass 3.5.5
Installing sass 3.5.5
Fetching tilt 2.0.8
Installing tilt 2.0.8
Fetching sass-rails 5.0.7
Installing sass-rails 5.0.7
Fetching selenium-webdriver 3.9.0
Installing selenium-webdriver 3.9.0
Fetching shoulda-matchers 3.1.2
Installing shoulda-matchers 3.1.2
Fetching sitemap_generator 6.0.1
Installing sitemap_generator 6.0.1
Fetching temple 0.8.0
Installing temple 0.8.0
Fetching slim 3.0.9
Installing slim 3.0.9
Fetching slim-rails 3.1.3
Installing slim-rails 3.1.3
Fetching spring 2.0.2
Installing spring 2.0.2
Fetching spring-commands-rspec 1.0.4
Installing spring-commands-rspec 1.0.4
Fetching spring-watcher-listen 2.0.1
Installing spring-watcher-listen 2.0.1
Fetching turbolinks-source 5.1.0
Installing turbolinks-source 5.1.0
Fetching turbolinks 5.1.0
Installing turbolinks 5.1.0
Fetching uglifier 4.1.6
Installing uglifier 4.1.6
Fetching web-console 3.5.1
Installing web-console 3.5.1
Using webpacker 3.2.2 from https://github.com/rails/webpacker.git (at master@f62c315)
Fetching whenever 0.10.0
Installing whenever 0.10.0
Bundle updated!
Post-install message from yard:
--------------------------------------------------------------------------------
As of YARD v0.9.2:
RubyGems "--document=yri,yard" hooks are now supported. You can auto-configure
YARD to automatically build the yri index for installed gems by typing:
$ yard config --gem-install-yri
See `yard config --help` for more information on RubyGems install hooks.
You can also add the following to your .gemspec to have YARD document your gem
on install:
spec.metadata["yard.run"] = "yri" # use "yard" to build full HTML docs.
--------------------------------------------------------------------------------
問題ないか確認
- 本番環境で問題ないか
- テストが落ちてないか
参考
- Rails アップグレードガイド - Rails ガイド
- Ruby on Rails 5.2 リリースノート - Rails ガイド
- 永久保存版 Rails アップデートガイド - pixiv inside
- Rails 5.1 にスムーズにアップグレードするためにやった 6 つのこと - メドピア開発者ブログ
- Ruby をアプデートして Rails 5 をインストール - かもメモ
- Rails 5.0 系から 5.1 系にアップデートする手順 - Qiita
- rbenv で Ruby のバージョンを最新安定版に update - Qiita
- ruby-build | rbenv 日本語リファレンス | Ruby STUDIO