Skip to content

Instantly share code, notes, and snippets.

@octopusinc
Created September 20, 2010 00:42
Show Gist options
  • Save octopusinc/587275 to your computer and use it in GitHub Desktop.
Save octopusinc/587275 to your computer and use it in GitHub Desktop.
# snow_leopard_on_rails.rb
# Batch file for RoR 2.3.8 on OS 10.6.4
# from Judd Kussrow of Octopus Inc
#************************************** UPDATES *****
# http://developer.apple.com/Tools/developonrailsleopard.html
# http://developer.apple.com/technologies/tools/xcode.html
run "gem update --system"
run "gem --version"
run "which ruby"
run "gem install rails --version=2.3.8"
run "rails --version"
run "which rails"
run "gem update rake"
rake '--version'
run "which rake"
run "gem update sqlite3-ruby"
run "gem server"
#************************************* MACPORTS *****
# http://www.macports.org/install.php
run "sudo port selfupdate"
#*************************************** GITHUB *****
# http://help.github.com/mac-git-installation/
run "port install git-core +svn"
# http://help.github.com/mac-key-setup/
run "ssh-keygen -t rsa -C '[email protected]'"
run "cat ~/.ssh/id_rsa.pub | pbcopy"
# https://github.com/account/
run "ssh [email protected]"
run "git config --global user.name 'First Last'"
run "git config --global user.email [email protected]"
#************************************ PASSENGER *****
run "gem install passenger"
run "passenger-install-apache2-module"
run "apachectl graceful"
# http://www.fngtps.com/passenger-preference-pane
#***************************************** GEMS *****
run "gem install warden"
run "gem install devise --version=1.0.8"
run "gem install haml"
run "gem install compass"
run "compass --version"
# http://html5boilerplate.com/
run "gem install html5-boilerplate"
# http://960.gs/
run "gem install compass-960-plugin"
run "gem install formtastic"
run "gem install nifty-generators"
run "ruby script/generate"
run "gem install paperclip"
run "gem install searchlogic"
# i18n, arel, & tzinfo
run "gem install friendly_id"
# babosa
run "gem install activemerchant"
# builder & braintree
run "gem install ssl_requirement"
# http://tagaholic.me/2009/03/13/hirb-irb-on-the-good-stuff.html
run "gem install hirb"
# script/console
# require 'hirb'
# Hirb.enable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment