首页 > 解决方案 > Ruby 1.8.7 的 OpenSSL 问题

问题描述

我正在开发一个具有 ruby​​ 1.8.7 和 rails 2.3.15 的项目。挣扎着捆绑。

我用rbenv (1.1.1)安装了 ruby

ruby -v 返回

ruby 1.8.7 (2012-06-29 patchlevel 370) [i686-darwin18.2.0]

rails -v 返回

rbenv: rails: command not found
The `rails' command exists in these Ruby versions:
2.3.3
2.3.4

捆绑安装返回

Could not load OpenSSL.
You must recompile Ruby with OpenSSL support or change the sources in 
your Gemfile from 'https' to 'http'. Instructions for compiling with OpenSSL using RVM are available at rvm.io/packages/openssl.

急于解决这个问题。提前致谢。

标签: ruby-on-railsrubyopensslbundlerbenv

解决方案


推荐阅读