faraday/script/console
2012-12-28 15:55:24 +01:00

8 lines
172 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%.*}"