我刚刚在我的 Mac (OS 10.8.2) 上安装了 Middleman,但无法生成新项目。我已经安装了 Xcode。谁能告诉我我可能做错了什么?
$ middleman init moi
-bash: middleman: command not found
$ gem list
middleman (3.0.12)
middleman-core (3.0.12)
middleman-more (3.0.12)
middleman-sprockets (3.0.9)
$ ruby -v
ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin12.2.0]
我正在使用 rbenv。这是我的路径:
/Users/me/.rbenv/shims:/opt/local/bin:/opt/local/sbin:/Users/me/downloads/mongodb/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin