Sha256: fa3d055af2b9c6bdb2d1af46715b864dbfa9f3dc78862918dc15894f486b6fcc

Contents?: true

Size: 330 Bytes

Versions: 6

Compression:

Stored size: 330 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 figly -r figly/console
else
  red='\e[0;31m'
  endColor='\e[0m'
  echo -e "${red}Pry was not found or not executable. Make sure `which pry` returns an exacutable.${endColor}"
fi

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
figly-1.1.0 bin/console
figly-1.0.4 bin/console
figly-1.0.3 bin/console
figly-1.0.2 bin/console
figly-1.0.1 bin/console
figly-1.0.0.beta.0 bin/console