ruby-on-rails - 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.
急于解决这个问题。提前致谢。
解决方案
推荐阅读
- powershell - powershell hyper-v natswitch 没有互联网
- c - 我想使用此 RegisterSymbol() 函数初始化结构,但出现此错误:“{”标记之前的预期表达式?
- plotly-dash - Plotly Dash dcc.Interval 禁用布尔文档
- c# - 如何为 URL 变量映射路由
- sql-server - 导入请求 ModuleNotFoundError:没有模块名称“请求”
- java - 如何停止 jasypt basictextencryptor 实体并在春季重新开始?
- python - Python 创建重复事件
- r - 使用 geom_segment 与 geom_hline 连接
- elasticsearch - 如何通过 REST API 查询 Kibana 数据
- r - 如何遍历 R 中的股票/共同基金数据