The versions of ruby and bundler are old, and I had a lot of trouble with errors when deploying, so I will write it down as a memorandum. ..
This time, it is assumed that there is no Ruby 2.6.3.
Install the latest version.
$ brew upgrade ruby-build
Available versions:
1.8.5-p52
1.8.5-p113
1.8.5-p114
1.8.5-p115
1.8.5-p231
---Omission---
2.5.4
2.5.5
2.6.0-dev
2.6.0-preview1
2.6.0-preview2
2.6.0-preview3
2.6.0-rc1
2.6.0-rc2
2.6.0
2.6.1
2.6.3
$ rbenv install 2.6.3
$ rbenv versions
system
2.4.1
2.5.1
2.5.3
* 2.6.3 (set by /Users/user_name/hoge/.ruby-version)
$ rbenv global 2.6.3
$ rbenv local 2.6.3
$ gem install bundler
$ bundle install --path=vendor/bundle
Recommended Posts