This night I’ve been scrolling the Prismatic and occasionally found the article How to Install Rails 4 on Windows, lucky to me. I know the better way to go and I hope someone will find it useful to keep in mind.
– Simply use a virtual machine running Linux! It’s the best what you can do. How is that possible? Well. You can try the Vagrant or just Virtualbox. To modify and share the files between I configured Smb, I am using PuTTY and Git Bash which comes with Git. Quite often I am using it to make the tunneling between Ubuntu 13.04 and my Windows 8.1 in case to access Futon or to specify given port on remote machine.
Sometimes you may want to run the Desktop applications and – Yes, it’s possible with Xming
The next good thing. If you’re using PuTTY, it can happen that you basically want to have a tabs. Should you search for new ssh client for Windows? – No! You can try tmux for this job. It works really well, you can save your session and restore it later. You can split your workspace, you can run more buffers and the most impressive thing – You can even do a pair programming with it.
But why all of this is actually better? – Firstly. You can get an identical configuration you have on production. You don’t have to worry messing up something. You can save and always restore from the snapshots. You can clone your machine. Now you don’t have to worry that something could not compile or some library cannot be installed on Windows.
You can run Postgresql, Redis, CouchDb, MongoDb, Mysql, ElasticSearch whatever else and bring your setup much more closer to production, which saves you from particular mistakes.
Now it’s possible to share it with your friends and workmates. – Imagine that you don’t have to wait, until new developer complete his configuration of the development environment.
And the most lovely benefit of it. Is that you’re easily can turn it off. Free the RAM space from lots of services you can have running and leave your job far behind for the weekends.