小编sao*_*oud的帖子

尝试运行捆绑安装时,我不断收到错误安装 puma (5.6.4) 时发生错误,并且 Bundler 无法继续 MacOS 13.1

每次我去跑步bundle install

\n

我一直在安装 puma 时陷入困境,我尝试使用手动安装它

\n

gem install puma -v '5.6.4' -- --with-ldflags=-L/usr/local/opt/openssl@1.1/lib --with-cppflags=-I/usr/local/opt/openssl@1.1/include --with-cflags="-Wno-error=implicit-function-declaration"

\n

无济于事,我确实得到了

\n

gem install puma -v '4.3.0' -- --with-ldflags=-L/usr/local/opt/openssl@1.1/lib --with-cppflags=-I/usr/local/opt/openssl@1.1/include --with-cflags="-Wno-error=implicit-function-declaration"

\n

成功工作,但那是我能够运行的唯一美洲狮版本。

\n

以下是捆绑安装的输出

\n
Installing haml-rails 2.1.0 (was 2.0.1)\nInstalling premailer-rails 1.12.0 (was 1.11.1)\nInstalling devise_saml_authenticatable 1.9.1 (was 1.9.0)\nInstalling fog-aws 3.15.0 (was 3.14.0)\nUsing site_prism 3.7.3\nGem::Ext::BuildError: ERROR: Failed to build gem native extension.\n\n    current directory: /Users/user/.rvm/gems/ruby-2.7.5/gems/puma-5.6.4/ext/puma_http11\n/Users/user/.rvm/rubies/ruby-2.7.5/bin/ruby -I /Users/user/.rvm/rubies/ruby-2.7.5/lib/ruby/2.7.0 -r ./siteconf20230113-31731-rzw4du.rb extconf.rb\n--with-cflags\\=-Wno-error\\=implicit-function-declaration\nchecking for BIO_read() in -llibcrypto... no\nchecking for BIO_read() in -lcrypto... yes\nchecking for SSL_CTX_new() …
Run Code Online (Sandbox Code Playgroud)

ruby homebrew rubygems puma macos-ventura

2
推荐指数
1
解决办法
777
查看次数

标签 统计

homebrew ×1

macos-ventura ×1

puma ×1

ruby ×1

rubygems ×1