Ruby and Rails setup script for Linux and OSX