A Vagrant setup for Rails installations.
- Install Vagrant and Virtual Box
- Clone this repository into an appropriate location on your machine
- Setup your config options in
config.yaml - Go into the directory where you installed this repo from the command line and type
vagrant up - Once everything finishes installing, you can run
vagrant sshand get into your new Ubuntu Server - To access your rails application, just navigate to the folder you specified in the
config.yamlfile and runbundle installand thenrails s. Simply navigate tolocalhost:3000in the browser on your computer and you'll see your rails application is good to go!
- For Windows Users, you may get an error stating:
Please find the VBOXMANAGE Binary and add it to the path environment- In this case, go to your system's environment variable list and change
VBOX_MSI_INSTALL_PATHtoVBOX_INSTALL_PATHand that should solve your issues. Just restart your shell after editing the entry - Note: you can find the environment variable list on Windows by just typing in the search field for
environment variablesand selectingEdit the system environment variables