rails / rails-dev-box

A virtual machine for Ruby on Rails core development
MIT License
2.05k stars 580 forks source link

Use bundled Ruby 2.5 #155

Closed yahonda closed 6 years ago

yahonda commented 6 years ago

This pull request changes to use bundled Ruby 2.5

Ubuntu 18.04 LTS supports Ruby 2.5 without 3rd party tools. https://packages.ubuntu.com/bionic/ruby

ruby-full is a Ubuntu package name to install Ruby via apt https://launchpad.net/ubuntu/bionic/+package/ruby-full https://www.ruby-lang.org/en/documentation/installation/#apt

vagrant@rails-dev-box:~$ ruby -v
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]
vagrant@rails-dev-box:~$ gem -v
2.7.7
vagrant@rails-dev-box:~$ bundle -v
Bundler version 1.16.2
vagrant@rails-dev-box:~$ which ruby
/usr/bin/ruby
vagrant@rails-dev-box:~$ which gem
/usr/bin/gem

I have confirmed Rails unit test runs with this change.

fxn commented 6 years ago

Awesome!