File: console

package info (click to toggle)
ruby-faraday 0.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 508 kB
  • ctags: 836
  • sloc: ruby: 4,882; sh: 138; makefile: 5
file content (7 lines) | stat: -rwxr-xr-x 172 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
#!/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%.*}"