I tried to run discourse in a VM via the Vagrantfile: https://github.com/discourse/discourse/blob/master/Vagrantfile
After enabling Virtualization in my BIOS settings of my computer, the installation started to work fine until this error:
==> default: ERROR: Error installing chef:
==> default: ohai requires Ruby version >= 2.0.0.
There is this line:
config.vm.provision :shell, :inline => "apt-get -qq update && apt-get -qq -y install ruby1.9.3 build-essential && gem install chef --no-rdoc --no-ri --conservat
which seems to use ruby1.9.3, is there something wrong with the Vagrantfile?