ITeye博客

Debian安装rails出现-bash rails: command not found的解决办法

aiaiya · 2008-10-28 09:31 · linux · vim · Java · Bash · Rails · Debian · Markdown

出现rails: command not found一般是由于path的原因。如下操作: vim /etc/profile 加入


RAILS_PATH=/var/lib/gems/1.8/bin
PATH=$PATH:$RAILS_PATH
export PATH

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。