File: console

package info (click to toggle)
ruby-sawyer 0.8.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 248 kB
  • sloc: ruby: 1,032; sh: 17; makefile: 3
file content (8 lines) | stat: -rwxr-xr-x 173 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
#!/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%.*}"