道喜技术日记 .^. 天天红玉世界

Rails Ruby MacOSX 。。。创新来自于刻苦的实践和勤奋的思考... www.hhtong.com


命令世界:在MacOSX上简化Rails启动命令

Gudao Luo2008-09-03 at 00:05发表的

免费无限存放图片在slide.com!
在MacOSX上简化Rails启动命令
vim ~/.bash_profile
 
# 下面代码增加到文件.bash_profile最后
alias ss='./script/server'
alias sc='./script/console'
alias sd='./script/dbconsole'
 
# 使用下面命令仅仅在当前终端有效
source ~/.bash_profile
# 或者
#关闭所有终端,再打开一个终端
Hierarchy: previous, next

Comments

There are 0 comments on this post. Post yours →

Post a comment

Required fields in bold.