Sha256: 7c3acaf5d29a85ddb8d67706cf6aee4d1dd1df57fb0a8bdd7bbc406b9376d74a
Contents?: true
Size: 486 Bytes
Versions: 35
Compression:
Stored size: 486 Bytes
Contents
#!/bin/bash # # flapper # PATH=$PATH:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local:/usr/local/sbin:/usr/local/bin:/usr/lib/flapjack/bin # load global rbenv environment if present if [ -x /etc/profile.d/rbenv.sh ] ; then source /etc/profile.d/rbenv.sh fi # Default return value RETVAL=0 if [ ! $(which flapper) ]; then echo "Error: flapper isn't in PATH." echo "Refusing to do anything!" exit 1 fi # Evaluate command rbenv shell 1.9.3-p125 && flapper $1 RETVAL=$? exit $RETVAL
Version data entries
35 entries across 35 versions & 1 rubygems