rails.plugin.zsh 474 Bytes
Newer Older
1
2
3
4
alias ss='thin --stats "/thin/stats" start'
alias sg='ruby script/generate'
alias sd='ruby script/destroy'
alias sp='ruby script/plugin'
Godwin Ko's avatar
Godwin Ko committed
5
alias sr='ruby script/runner'
6
7
alias ssp='ruby script/spec'
alias rdbm='rake db:migrate'
8
alias rdbtp='rake db:test:prepare'
9
10
alias sc='ruby script/console'
alias sd='ruby script/server --debugger'
11
12
alias devlog='tail -f log/development.log'

13
14
15
function remote_console() {
  /usr/bin/env ssh $1 "( cd $2 && ruby script/console production )"
}