Sha256: 0cdc4b304fd469725fc8c510b218732263e0fd0fe49367831456137b659e62e0

Contents?: true

Size: 552 Bytes

Versions: 5

Compression:

Stored size: 552 Bytes

Contents

#!/usr/bin/env bash
cd "$( dirname ${BASH_SOURCE[0]} )/.."
DIR_AC="$(pwd)"
DIR_RES="$DIR_AC/.."

echo "DATA_DIR=$HOME/Library/AfriCompta" > ../afri_compta.conf
export PATH="$DIR_RES/ruby/bin:$PATH"
export GEM_PATH="$DIR_RES/ruby/lib/ruby"
echo path: $PATH
echo gem_path: $GEM_PATH
ruby --version
which ruby
pkill -f "afri_compta.rb"
bin/afri_compta.rb &
AFRICOMPTA=$!
sleep 5
echo $AFRICOMPTA
open -Wn -a Safari.app http://localhost:3302
kill $!
#open -a Safari.app http://localhost:3302/$!
#pkill -f "afri_compta.rb"
echo Done with AfriCompta
#read a

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
africompta-1.9.1312 bin/africompta.sh
africompta-1.9.13.pre.12 bin/africompta.sh
africompta-1.9.13.pre.11 bin/africompta.sh
africompta-1.9.13.pre.10 bin/africompta.sh
africompta-1.9.11 bin/africompta.sh