2010-06-03 19:03:26 +00:00
|
|
|
alias ss='thin --stats "/thin/stats" start'
|
|
|
|
alias sg='ruby script/generate'
|
|
|
|
alias sd='ruby script/destroy'
|
|
|
|
alias sp='ruby script/plugin'
|
2011-10-12 04:16:23 +00:00
|
|
|
alias sr='ruby script/runner'
|
2010-06-03 19:03:26 +00:00
|
|
|
alias ssp='ruby script/spec'
|
|
|
|
alias rdbm='rake db:migrate'
|
2012-11-24 15:12:40 +00:00
|
|
|
alias rdbtp='rake db:test:prepare'
|
2010-06-03 19:03:26 +00:00
|
|
|
alias sc='ruby script/console'
|
|
|
|
alias sd='ruby script/server --debugger'
|
2010-06-03 19:32:55 +00:00
|
|
|
alias devlog='tail -f log/development.log'
|
|
|
|
|
2010-06-03 19:55:07 +00:00
|
|
|
function remote_console() {
|
|
|
|
/usr/bin/env ssh $1 "( cd $2 && ruby script/console production )"
|
|
|
|
}
|