bellroy / lesswrong

Less Wrong platform
http://lesswrong.org/
Other
49 stars 23 forks source link

Vagrant provisioning fails due to incorrect rack version #570

Closed jglamine closed 8 years ago

jglamine commented 8 years ago

Steps to reproduce:

Run vagrant up The command will fail with:

ERROR:  Error installing chef:
    rack requires Ruby version >= 2.2.2.

This happens because the most recent version of rack requires ruby >=2.2.2, but we're using ruby 1.9.

There are two possible solutions:

gem install rack -v=1.6.4 --no-ri --no-rdoc
gem install chef -v "11.16.4" --no-ri --no-rdoc

Right now I'm solving the problem locally using method 1.

jglamine commented 8 years ago

Now that we're using ansible instead of chef, this is a non-issue.