Sha256: 5fdc80fc24e8dd0c8be070fc99633e5cbd6338e8a9653cd0ce8f512355e0ffb1

Contents?: true

Size: 550 Bytes

Versions: 3

Compression:

Stored size: 550 Bytes

Contents

#!/usr/bin/env ruby

# This file imitates the Rails console to ease debugging the gem.
# Run `script/console` from the gem root to start an IRB with the gem loaded.

# Remember to require classes before using them,
# i.e. `require 'katapult/elements/model'` before using `Katapult::Model`

require 'bundler/setup'

irb_options = [
  '-Ilib',      # add lib/ to load_path
  # '-d',         # set $DEBUG = true

  # Requires
  '-rkatapult/version',
  '-rrails',
  '-rrails/generators',
  '-f'          # don't read ~/.irbrc
]

exec 'irb', *irb_options

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
katapult-0.5.0 script/console
katapult-0.4.1 script/console
katapult-0.4.0 script/console