`

no such file to load --openssl

阅读更多
实际是bundle install的时候出的问题
原因是自己手欠,随手gem update --system到了1.8.3
不升级安装就没有问题
解决办法如下:

引用
'require_frameworks: no such file to load --openssl'

Thanks to this post @ railsforum.com I was able to fix this error.
Enter the following commands in the terminal:

1. cd /ruby_install_dir/ext/openssl (I used rvm to install ruby, so my ruby_install_dir was at ~/.rvm/src/ruby-1.9.2-p0)
2. ruby extconf.rb
3. make
4. make install


引用

sudo aptitude install libopenssl-ruby
Note: selecting "libruby" instead of the
      virtual package "libopenssl-ruby"
The following NEW packages will be installed:
  libruby libruby1.8{a}

分享到:
评论

相关推荐

    【跳坑日记】Ubuntu 16.04安装 Ruby2.7.0遇到的坑:cannot load such file — openssl (LoadError)

    在本文中,我们将探讨在Ubuntu 16.04系统上安装Ruby 2.7.0时遇到的一个常见问题:`cannot load such file — openssl (LoadError)`。这是一个与Ruby和OpenSSL库集成有关的问题,通常发生在试图安装或运行依赖于...

    openSUSE下的Ruby安装openssl出错解决方法

    `no such file to load — openssl (LoadError)` 原因很简单就是 ruby 的 openssl 支持模块没有安装,在 openSUSE 下面安装: 代码如下: sudo zypper in libopenssl-devel 然后编译 openssl 模块,

    Redis4基于CentOS6集群搭建1

    然而,运行`redis-trib.rb`时可能会遇到一个问题,即`no such file to load -- redis`的错误。这是由于缺少Redis的Ruby接口。为解决此问题,你需要通过`gem install redis`命令安装Ruby的Redis gem。确保Ruby环境...

    linux全志R16的linux系统编译的资料_20170502_1655.7z

    Preparing to unpack .../libfile-listing-perl_6.04-1_all.deb ... Unpacking libfile-listing-perl (6.04-1) ... Selecting previously unselected package libfont-afm-perl. Preparing to unpack .../libfont-...

    php.ini-development

    Expressions in the INI file are limited to bitwise operators and parentheses: ; | bitwise OR ; ^ bitwise XOR ; & bitwise AND ; ~ bitwise NOT ; ! boolean NOT ; Boolean flags can be turned on using ...

    ubuntu下安装ruby on rails

    **问题描述:** 访问自定义页面时出现 `no such file load – sqlite3` 错误。 **解决方案:** Rails 默认使用 SQLite3 作为开发数据库。确保安装了 SQLite3: ```bash sudo apt-get install sqlite3 sudo gem ...

    Centos7安装swoole扩展操作示例

    类似地,如果遇到“fatal error: openssl/ssl.h: No such file or directory”,表明缺少OpenSSL开发库,使用`yum install openssl-devel`进行安装。如果需要HTTP2支持但编译失败,确保安装nghttp2库,可以通过下载...

Global site tag (gtag.js) - Google Analytics