Install Rails gem from 4-2-stable branch
#!/bin/bash git clone -b 4-2-stable https://github.com/rails/rails.git cd rails rake build rake install