ruby_ship
directory i get that ssl crash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
OS="unknown"
if [[ "$OSTYPE" == "linux"* ]]; then
OS="linux"
elif [[ "$OSTYPE" == "darwin"* ]]; then
OS="darwin"
elif [[ "$OSTYPE" == "cygwin" ]]; then
OS="win"
elif [[ "$OSTYPE" == "win32" ]]; then
OS="win"
elif [[ "$OSTYPE" == "freebsd"* ]]; then
OS="freebsd"
else
echo "OS not compatible"
exit 1
fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$( dirname "${BASH_SOURCE[0]}" )/../"
SSL_CERT_FILE="${DIR}/shipyard/cacerts.pem" "${DIR}/shipyard/${OS}_ruby.sh" "$@"
my_folder/path/to/ruby_ship/bin/ruby_ship.sh ./my_script_in_my_folder.rb
ruby_ship.sh
file within your wrapper?
ruby_ship_gem.sh
works exactly the same as gem
ruby_ship_gem.sh install whatever
darwin_bundler.sh
ruby_ship_bundler.sh