Move ruby 3 script to note instead
This commit is contained in:
parent
8bf2d214b6
commit
8ef10b05ac
2 changed files with 10 additions and 16 deletions
10
README.md
10
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"
|
||||
```
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue