Skip to content

Instantly share code, notes, and snippets.

View whistler's full-sized avatar

Ibrahim Muhammad whistler

View GitHub Profile
@whistler
whistler / rubyplusplus 12-17-2011
Created May 1, 2012 14:51
Set up Ubuntu for Rails and Github
############ For Vitual Machines #######
sudo locale-gen en_CA.UTF-8
sudo apt-get install ruby git build-essential
############ Run Updates ############
sudo apt-get update
sudo apt-get -y upgrade
############ Reboot ############
@whistler
whistler / deploy.rb
Created August 13, 2011 09:04 — forked from skojin/deploy.rb
base capistrano configuration for passenger
set :application, "appname"
set :domain, "domain.tld"
role :web, domain # Your HTTP server, Apache/etc
role :app, domain # This may be the same as your `Web` server
role :db, domain, :primary => true # This is where Rails migrations will run
set :repository, "." # Deploy from the local repository
set :scm, "git"
set :branch, "master"