Rails Ready: Ruby and Rails on Ubuntu in One Line
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)).
Rails Ready is essentially just a shell script but one you might find useful if you're running Ubuntu (or - update - CentOS) and want to get the installation process done and over as quickly as possible. It follows on rather nicely to our last post: Ruby Installer: Ruby and Rails on Windows in a Single, Easy Install!
If you have the time or you're installing this on your main development machine, however, I would recommend following Ryan Biggs' RVM based instructions (or my equivalent screencast) because RVM gives you more developer-level control later on (such as gem sets). UPDATE - Josh has been working hard and says that Rails Ready "now asks you if you want to build from source or install RVM" - nice!
Nonetheless, if you want to get a new Ubuntu (or CentOS) box running Rails as quickly as possible, Rails Ready is worth a try. The short version:
wget --no-check-certificate https://github.com/joshfng/railsready/raw/master/railsready.sh && bash railsready.sh
Before running the above, though, be aware of the ramifications. You should probably take a look at
https://github.com/joshfng/railsready/raw/master/railsready.sh yourself to see if it's suitable for you.