railsready: Setup script to get Ruby and Rails running on Ubuntu with one command
How would you like to get a full Ruby on Rails stack up on Ubuntu with one command?
Now you can by running Rails Ready. Rails Ready is a setup script that gets Ruby and Rails running on a fresh install of Ubuntu with one command (Tested on Ubuntu server 10.04 LTS (Long-term Support)).
This is a brand new project by Josh Frye that he uses all the time to setup VMs, but there’s always testing to be done and improvements to be made. Fork as needed or join in on the conversation at Hacker News.
Running the Script
Check out railsready.sh to see everything Rails Ready is doing.
sudo wget --no-check-certificate https://github.com/joshfng/railsready/raw/master/railsready.sh && bash railsready.sh
The script will then ask if you want to build Ruby from source or install RVM. If you want to watch the magic happen just run
tail -f ~/railsready/install.log.
What gets installed?
- An updated system
- Ruby 1.9.2p136 (installed to /usr/local/bin/ruby) or RVM running 1.9.2p136
- libs needed to run Rails (sqlite, mysql, etc)
- Bundler, Passenger, and Rails gems
All you need to do is install NGINX or Apache, run
passenger-install-apache-module, upload your app, point your vhost config to your apps public directory and go!
Sign in or Join to comment or subscribe