故障描述
Ruby用安裝提示無法加載Openssl
gem install rails -v 3.2.17
ERROR: Loading command: install (LoadError)
cannot load such file -- openssl
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass
故障分析
無
處理過程
進(jìn)入到ruby源碼包的所在路徑,然后進(jìn)入ext/openssl,執(zhí)行:
sudo ruby extconf.rb,
make
make install
建議/總結(jié)
無