标签:art re c ar app file text server
# starts the app server (non-daemonized)
$ padrino start
# starts the app server (daemonized) with given port, environment and adapter
$ padrino start -d -p 3000 -e development -a thin
# Stops a daemonized app server
$ padrino stop
# Bootup the Padrino console (irb)
$ padrino console
# Run/List tasks
$ padrino rake
# Run piece of code in the context of Padrino (with given environment)
$ padrino runner ‘puts Padrino.env‘ -e development
# Run Ruby file in the context of Padrino
$ padrino r script/my_script.rb
标签:art re c ar app file text server
原文地址:http://www.cnblogs.com/qinyan20/p/3867527.html