rails ready great script for auto install rails3.2
RailsReady
RubyandRailssetupscriptforLinuxandOSX
Distrossupported:
Ubuntu10.04LTS,10.10and11.04
CentOS5(utilizestheFedoraEPELrepo)
OSX(requiresXCodetobeinstalled)
Runthisonafreshinstall.ItWILLupdateyoursystem!
Torun:
Linux
wget--no-check-certificatehttps://raw.github.com/joshfng/railsready/master/railsready.sh&&bashrailsready.sh
OSX
curl-Ohttps://raw.github.com/joshfng/railsready/master/railsready.sh&&bashrailsready.sh
ThescriptwillaskifyouwanttobuildRubyfromsourceorinstallRVM
Whatthisgivesyou:
Anupdatedsystem(Linuxonly)
Homebrew(OSXonly)
Ruby1.9.3latestpatchlevel(installedto/usr/local/bin/ruby)orRVMrunning1.9.3latestpatchlevel
Imagemagick
libsneededtorunRails(sqlite,mysql,etc)
Bundler,Passenger,andRailsgems
Git
Pleasenote:Ifyouarerunningonasuperslowconnectionyoursudosessionmaytimeoutandyou'llhavetoenteryourpasswordagain.Ifyou'rerunningthisonanEC2orRSinstanceitshouldn'tbeproblem.
JustinstalleitherNGINXorApache,runpassenger-install-nginx-moduleorpassenger-install-apache-module,uploadyourapp,pointyourvhostconfigtoyourappspublicdirandgo!
AnoteaboutRVM+passenger+nginx:PassengerinstalledviaRVMcan'tlocatetheOpenSSLpackageinstalledonUbuntu.Ausercontributedfixisasfollows
https://github.com/joshfng/railsready/blob/5206441282650cadbf72e2adcc535da8aa495a73/README.md