September 2016
Intermediate to advanced
488 pages
12h 21m
English
The Rails team helpfully provides a virtual machine definition[9] for Ruby on Rails development. If you have both Git and Vagrant installed, you can be up and running with the three commands listed on that page:
| | $ git clone https://github.com/rails/rails-dev-box.git |
| | $ cd rails-dev-box |
| | $ vagrant up |
If you don’t have Git installed, you can download rails-dev-box as a zip file by clicking the link at the top right of the page.
Fedora users may need to install libvirt.[10]
The important thing to note is that the rails-dev-box directory will be shared with the virtual machine, where it’ll be mounted as /vagrant. Run the following commands to see this in action:
| | $ vagrant ... |
Read now
Unlock full access