每次我去跑步bundle install
我一直在安装 puma 时陷入困境,我尝试使用手动安装它
\ngem 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"
无济于事,我确实得到了
\ngem 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以下是捆绑安装的输出
\nInstalling 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)