Closed kurtcarpenter closed 7 years ago
@kurtcarpenter I took a look at this issue this morning and was able to find more information on this issue here.
It looks like the ruby-build that is being used in vagrant could/maybe/notsure is a local copy (from your local machine).
Could you post the following commands:
ruby-build --version
and brew update && brew upgrade ruby-build
I will try to help you troubleshoot to get you started. Also, if you are interested, there is a slack channel for refuge that we can use, too.
I don't have ruby installed on the host machine- I believe this is an issue with ruby-build's version cache not being up-to-date on setup. Turns out this was really an issue with newlines on .ruby-version not being stripped by the setup script
On the guest machine:
vagrant@refugerestrooms:~$ ruby-build --version
ruby-build 20170201-12-g4e80d99
vagrant@refugerestrooms:~$ rbenv versions | grep 2.3.1
* 2.3.1 (set by /home/vagrant/.ruby-version)
On first-time start of the vagrant box, rbenv fails to install ruby 2.3.1: