Sha256: 8d2979a5f13a4c294d2ae22bff963803a47bddfecf575f103c4c87a4930d3587

Contents?: true

Size: 336 Bytes

Versions: 1

Compression:

Stored size: 336 Bytes

Contents

#!/bin/sh
# Run a Ruby REPL.
 
set -e
 
cd $(dirname "$0")/..
PRY_PATH=$(which pry)
 
if [ -x $PRY_PATH ] 
then
  exec bundle exec ruby $PRY_PATH -Ilib -r timeywimey -r timeywimey/console
else
  red='\033[0;31m'
  NC='\033[0m'
  echo "${red}Pry was not found or not executable. Make sure \`which pry\` returns an executable.${NC}"
 
fi

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
timeywimey-0.0.1 bin/console