1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-29 18:52:22 +01:00

updated archlinux instructions

This commit is contained in:
Sylvain 2018-11-13 17:24:15 +01:00
parent 8d4b354199
commit a0224b250b

View File

@ -5,9 +5,13 @@ Ruby 2.3.0 has a known issue with openSSL version > 1.0 (which is ArchLinux defa
To overpass this problem, you must install ruby with special indication of the openSSL installation to use.
```bash
sudo pacman -S gcc5
rvm pkg install openssl
CC=gcc-5 rvm install 2.3.0 -C --with-openssl-dir=$HOME/.rvm/usr
# first, install GCC 5 from AUR (https://aur.archlinux.org/packages/gcc5/)
# you can use pacaur, yaourt or whatever you want ...
pacaur -S gcc5
# then, install openssl-1.0 (in addition of 1.1)
sudo pacman -S openssl-1.0
# finally, install ruby 2.3 using the bindings
CC=/usr/bin/gcc-5 PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CFLAGS+=" -I/usr/include/openssl-1.0" LDFLAGS+=" -L/usr/lib/openssl-1.0 -lssl" rvm install 2.3.0
```
There's also an issue with openSSL and `puma` but this is fixed by using puma version > 3.
There's also an issue with openSSL and `puma` but this is fixed by using puma version > 3.