This repo uses Vagrant to create a Ruby on Rails development environment on a Windows, Mac, or Linux computer. With one command, you can create a virtual Ubuntu Linux box (Trusty Tahr 14.04). Vagrant creates Linux web servers on their local machines, while allowing them to use native tools like Notepad++ and TextMate). For Windows users, this means using the latest Ruby and Rails, which are unavailable natively.
There are three major dependencies: Git, VirtualBox, and Vagrant. All are free software. Additionally, there are a few Vagrant plugins required: vagrant-vbguest and vagrant-librarian-chef.
Download and install the following. If there are options, just choose default values.
vagrant plugin install vagrant-vbguest
vagrant plugin install vagrant-librarian-chef
git clone https://github.com/Riverside-Ruby/vagrant-chef-rails4 rrug
rrug
folder: cd rrug
vagrant up
stdin: is not tty
. Remember that you are installing an entire operating system and the latest Ruby, Rails, and Ember-CLI.Vagrant uses SSH to allow direct control of the virtual machine. Follow the steps below to start your Rails and your Ember servers.
vagrant ssh
tmux new-session
tmux split-window -v
(top/bottom) or tmux split-window -h
(side-by-side), or use Ctrl+b, then hit "
(top/bottom) or %
(side-by-side)cd /vagrant/rails && rails s
cd /vagrant/ember && ember s --proxy http://localhost:3000
exit
to close each pane and window.