Error when running 'vagrant up'
loumarven opened this issue · 1 comments
loumarven commented
Issue:
vagrant up
not working
This is the error I get when I run vagrant up
:
Failed to restart thin.service: Unit thin.service not found.
Root cause:
Required(?) bundler version was not installed. Ran vagrant provision
and got this error:
Could not find 'bundler' (1.17.3) required by your /vagrant/Gemfile.lock.
Solution:
- ssh into the vagrant box with
vagrant ssh
- run the command
sudo gem install bundler:1.17.3
- type
exit
to exit from the ssh session - run
vagrant provision
- run
vagrant up
again and visit http://localhost:3000
Note:
Opened this issue in case others are experiencing the same and are looking for a solution