-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Josh Frye
committed
Jan 21, 2011
1 parent
f80e5d0
commit 88785fb
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
##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: | ||
* sudo apt-get -y install curl && curl https://github.com/joshfng/railsready/raw/master/railsready.sh | sh | ||
* If you want to watch the magic happen run "tail -f ~/railsready/install.log" | ||
|
||
##What this gives you: | ||
|
||
* 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. |