Ideal setup for Ruby on Rails on Windows (Vagrant + Guard + Spring)

Faster App Development with Ruby on Rails

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

  1. Download and install the latest version of VirtualBox (Vagrant depends on VirtualBox)
  2. Download and install the latest version of Vagrant for Windows.

Clone the chef-rails-dev-box repository

  1. Download Git for Windows if you haven’t already.
  2. 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

Easy Rails with Vagrant + VirtualBox on Windows

Get set with rails dev in 1.. 2.. 3..

Puts "Hello"

There are plenty of posts describing on how to install Ruby and Rails on Windows. But there are two main approaches:

  • Install Ruby and Rails directly, I mentioned that before in Installing Ruby On Windows – The Right Way. The main disadvantage of this approach is that is limited to Ruby 1.9.x on Windows (well, last time I tried – two weeks ago). You can install Ruby 2.x+, but Rails won’t work. I don’t know why, but after googling for a couple of hours I found that it’s a common problem.
  • Second way is to install Vagrant + VirtualBox. Folks say it’s easy and the best way to go. I can’t say it isn’t the best way to go, but it’s not easy as I really expected. So in this post I’ll cover that approach so you guys hopefully can save a couple of hours and use them for the having fun with Ruby and…

View original post 539 more words

Prayers by Queen Kuntī (Slokas)

The Hare Krishna Movement

The following 25 verses (slokas) Prayers by Queen Kunti from the Srimad Bhagavatam were often quoted by Srila Prabhupada when giving lectures, and are so important that an entire book was published from the purports to these verses entitled “Teachings of Queen Kunti”. We encourage our readers to download the entire book by following the link at bottom of post for a free pdf file. You can also print these important slokas by clicking on the print icon following the post for easy reference to memorizing these famous slokas.

Srimad Bhagavatam
By His Divine Grace A.C. Bhaktivedanta Swami Prabhupada
Canto One, Chapter 8, Text 18-43

Prayers by Queen Kuntī Slokas

View original post 2,330 more words

IoT : Encounter with ESP8266-201 Module

Featured Image -- 1437

Lets build something by integrating Android app with Arduino for home control.

Break-Make-Invent

Came to know about new module called ESP8266-201 for IoT experiments , when Heramb MakerLab arranged one session with one of the makers ( Hemant worked in Tieto) on IoT.

It sounds like good Rs. 500 investment for experimenting and learning this new IoT module. I ordered immediately following two items online from one of the vendors on Lamington Road, Mumbai :

  1. ESP8266 ESP-201 WiFi board with full I/O and PCB antenna  : This is actual module which needs to be programmed as a controller along with thing to communicate with internet or home network.
  2. FT232RL Based High Quality USB to TTL Module : This is module for loading the program into ESP module. It can also provide initial power for ESP module during prototyping phase.

Ref : http://www.evelta.com

For running first program on ESP module, you would need following additional hardware :

  • LED
  • Resistor – 220 ohm
  • Jumper wires

By the time…

View original post 510 more words