A setup script to get ruby and rails running on Ubuntu server with one command
Switch branches/tags
Nothing to show
Pull request Compare This branch is 161 commits behind joshfng:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
railsready.sh

README.md

#Rails Ready ##Get a full Ruby on Rails stack up with one command :)

##Run this on a fresh install. Tested on Ubuntu server 10.04 lts

##To run:

##What this gives you:

  • An updated system
  • Ruby 1.9.2p136
  • Imagemagick
  • libs needed to run Rails (sqlite, mysql, etc)
  • Bundler, Passenger, and Rails gems

Just install a NGINX or Apache, run passenger-install-nginx-module or passenger-install-apache-module, upload your app, point your vhost config to your apps public dir and go!

I use this to setup VMs all the time but I'm sure this script can be improved upon. I'll update the commands and ruby versions as they change.