我已经阅读了关于rails错误的每个帖子都在寻找我的问题的解决方案,而我已经解决了一些问题,我想出了更多.我根据Agile Development with Rails一书升级到Snow Leopard并安装了RVM和Rails.然而,一旦
rake aborted! dlopen(/opt/local/lib/ruby/1.8/i686-darwin9/digest/sha1.bundle, 9): Library not loaded: /opt/local/lib/libcrypto.1.0.0.dylib Referenced from: /opt/local/lib/ruby/1.8/i686-darwin9/digest/sha1.bundle Reason: no suitable image found. Did find: /opt/local/lib/libcrypto.1.0.0.dylib: mach-o, but wrong architecture - /opt/local/lib/ruby/1.8/i686-darwin9/digest/sha1.bundle (See full trace by running task with --trace)你的系统可能有变化.您可能已经移动或删除了ruby所需的某些文件或文件夹.
rvm reinstall ree
或者斯皮尔的答案基本上是正确的,但是ewww macports.回家吧!