faraday/script/console
2015-10-03 01:21:51 +02:00

8 lines
177 B
Bash
Executable File

#!/usr/bin/env bash
# Usage: script/console
# Starts an IRB console with this library loaded.
gemspec="$(ls *.gemspec | head -1)"
exec bundle exec irb -r "${gemspec%.*}" "$@"