If you’re developing Ruby on Rails applications in Windows, you’ve probably found that tests run really slowly in the Windows environment. The only supported system to speed up tests is Spork and this hasn’t been updated in about a year or so. The ideal setup for any Windows developer is to develop in your host machine and test in a virtual machine. Vagrant is ideal for this purpose.
Note: These instructions were written for a Ruby on Rails 4 application. If you are still developing Ruby on Rails 3 applications, the simplest way to get up and running is RailsInstaller.
Install Virtual Box and Vagrant
- Download and install the latest version of VirtualBox (Vagrant depends on VirtualBox)
- Download and install the latest version of Vagrant for Windows.
Clone the chef-rails-dev-box repository
- Download Git for Windows if you haven’t already.
- Clone chef-rails-dev-box using “git clone https://github.com/AppMaintainers/chef-rails-dev-box.git” to a directory on your…
View original post 556 more words