由于我迁移到 Snow Leopard,我无法从命令行运行任何 Rake 命令。
例如,如果我尝试跑步,rake stats
我会得到:
rake aborted!
dlopen(/Users/xxx/.gem/ruby/1.8/gems/hpricot-0.8.1/lib/hpricot_scan.bundle, 9): no suitable image found. Did find:
/Users/xxx/.gem/ruby/1.8/gems/hpricot-0.8.1/lib/hpricot_scan.bundle: no matching architecture in universal wrapper - /Users/xxx/.gem/ruby/1.8/gems/hpricot-0.8.1/lib/hpricot_scan.bundle
/Users/xxx/Projects/MyProject/Rakefile:10
(See full trace by running task with --trace)
感谢帮助