标签:
$ EDITOR=vim bundle open devise$ vim$ echo $EDITOR
$ vim ~/.bashrc
加上这句 export EDITOR=vim
$ . ~/.bashrc$ echo $EDITORvim$ bundle open devise
查看gem devise的源代码
原文地址:http://www.cnblogs.com/iwangzheng/p/5206678.html