我对 Ruby、RVM 和 Mac 还很陌生。我想安装 ruby gems 作为 Web 开发工具,但我得到了这个:
$ gem install sass
加载 RubyGems 插件“/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/rubygems-bundler-1.2.2/lib/rubygems_plugin.rb”时出错:dlopen(/usr/local/rvm/ rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/x86_64-darwin12.4.0/openssl.bundle, 9):库未加载:/opt/local/lib/libssl.1.0.0.dylib 引用来自:/usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/x86_64-darwin12.4.0/openssl.bundle 原因:找不到图像 - /usr/local/rvm/rubies /ruby-2.0.0-p247/lib/ruby/2.0.0/x86_64-darwin12.4.0/openssl.bundle(LoadError)错误:加载命令:安装(LoadError)dlopen(/usr/local/rvm/rubies/ruby -2.0.0-p247/lib/ruby/2.0.0/x86_64-darwin12.4.0/openssl.bundle, 9):库未加载:/opt/local/lib/libssl.1.0.0.dylib 引用自:/ usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/x86_64-darwin12.4.0/openssl.bundle 原因:找不到图像 - /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/x86_64-darwin12.4.0/openssl.bundle 错误:执行 gem ...(NoMethodError)未定义方法 `invoke_with_build_args' 用于 nil:NilClass