mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-04 00:02:03 -04:00
13 lines
344 B
Bash
Executable File
13 lines
344 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if ! bundle config build.eventmachine | grep -q 'cppflags='; then
|
|
if openssl_dir="$(brew --prefix openssl 2>/dev/null)"; then
|
|
bundle config --local build.eventmachine \
|
|
--with-cppflags="-I${openssl_dir}/include" \
|
|
--with-ldflags="-L${openssl_dir}/lib"
|
|
fi
|
|
fi
|
|
|
|
bundle install --path vendor/bundle --jobs 4
|