Created
November 13, 2008 11:59
-
-
Save bragi/24412 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
alias rt='nice time rake log:clear:test test' | |
alias rtu='nice time rake log:clear:test test:units' | |
alias rtf='nice time rake log:clear:test test:functionals' | |
alias rti='nice time rake log:clear:test test:integration' | |
alias rts='rm -f ../../log/test.log; nice time ruby' | |
alias rdm="rake db:migrate" | |
alias rdmr="rake db:migrate:redo" | |
alias rdd="rake db:schema:dump db:structure:dump" | |
alias migt="rdm && rdmr && rdd && rake db:test:clone_structure" | |
alias lesst='less -Rf log/test.log' | |
alias lessd='less -Rf log/development.log' | |
alias lessp='less -Rf log/production.log' | |
alias lessc='less -Rf log/cached.log' | |
alias lessl='less -Rf log/lightweight_development.log' | |
alias ms='rm log/development.log; env IRBRC=/dev/null script/server --debugger' | |
alias msp='mongrel_rails start -e production' | |
alias cpds="cap production deploy:start" | |
alias csds="cap staging deploy:start" | |
alias cpdr="cap production deploy:restart" | |
alias csdr="cap staging deploy:restart" | |
alias cpdm="cap production deploy:migrations && cpds" | |
alias csdm="cap staging deploy:migrations && csds" | |
alias sc='./script/console' | |
function nat { | |
rm log/test.log | |
rake db:test:clone_structure | |
DEBUG=true nice autotest | |
} | |
function spec { | |
rm log/test.log | |
rake db:test:clone_structure | |
DEBUG=true ./script/spec spec | |
} | |
alias specs="./script/spec_server" | |
function cdgem { | |
cd /Library/Ruby/Gems/1.8/gems; cd `ls|grep $1|sort|tail -1` | |
} | |
function cdgem1.9 { | |
cd /usr/local/ruby1.9/lib/ruby/gems/1.9.0/gems; cd `ls|grep $1|sort|tail -1` | |
} | |
export LESS="-NR" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment