我最近开始研究 Merb,用于办公室周围的一些小项目。我正在尝试按照文档设置我的第一个项目,但遇到了异常,例如:
foo:beta user$ merb
Merb root at: /Users/user/code/merb/beta
Loading init file from ./config/init.rb
Loading ./config/environments/development.rb
~ Connecting to database...
~ Loaded slice 'MerbAuthSlicePassword' ...
~ Parent pid: 39794
~ Compiling routes...
~ Activating slice 'MerbAuthSlicePassword' ...
~
~ FATAL: Mongrel is not installed, but you are trying to use it. You need to either install mongrel or a different Ruby web server, like thin.
我已经从 gem 和 MacPorts 安装了 Mongrel,并且对这个异常感到困惑。
重要数据:
ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-darwin10]
从我安装的宝石:
merb (1.1.0)
merb-action-args (1.1.0)
merb-assets (1.1.0)
merb-auth (1.1.0)
merb-auth-core (1.1.0)
merb-auth-more (1.1.0)
merb-auth-slice-password (1.1.0)
merb-cache (1.1.0)
merb-core (1.1.0)
merb-exceptions (1.1.0)
merb-gen (1.1.0)
merb-haml (1.1.0)
merb-helpers (1.1.0)
merb-mailer (1.1.0)
merb-param-protection (1.1.0)
merb-slices (1.1.0)
merb_datamapper (1.1.0)
mongrel (1.1.5)
Merb 文档不存在,所以我发现自己陷入了困境。
提前致谢。