diff --git a/README.md b/README.md index 3bdf98f..e1c2135 100644 --- a/README.md +++ b/README.md @@ -21,3 +21,13 @@ brew edit PACKAGE # where there is no local directory named PACKAGE # add compile options brew install -s PACKAGE ``` + +* Minor Ruby conflicts with brew/OpenSSL version/Ruby. This has worked, but also + caused problems + +``` +export PATH="/home/linuxbrew/.linuxbrew/opt/openssl@3/bin:$PATH" +export LDFLAGS="-L/home/linuxbrew/.linuxbrew/opt/openssl@3/lib" +export CPPFLAGS="-I/home/linuxbrew/.linuxbrew/opt/openssl@3/include" +export PKG_CONFIG_PATH="/home/linuxbrew/.linuxbrew/opt/openssl@3/lib/pkgconfig" +``` diff --git a/ruby_with_openssl3.sh b/ruby_with_openssl3.sh deleted file mode 100755 index 97942f3..0000000 --- a/ruby_with_openssl3.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -if [ $# -ne a]; then - echo Specify Ruby version - exit -fi - -major=$(echo $1 | cut -d. -f1) -minor=$(echo $1 | cut -d. -f2) -patch=$(echo $1 | cut -d. -f3) - -PATH="/home/linuxbrew/.linuxbrew/opt/openssl@3/bin:$PATH" \ - LDFLAGS="-L/home/linuxbrew/.linuxbrew/opt/openssl@3/lib" \ - CPPFLAGS="-I/home/linuxbrew/.linuxbrew/opt/openssl@3/include" \ - PKG_CONFIG_PATH="/home/linuxbrew/.linuxbrew/opt/openssl@3/lib/pkgconfig" \ - rbenv install $1