mirror of
https://github.com/samsonjs/stormy-weather.git
synced 2026-03-25 09:15:57 +00:00
16 lines
340 B
Ruby
Executable file
16 lines
340 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
#
|
|
# Bash version:
|
|
# exec irb --readline --simple-prompt -r irb/completion -I $(dirname "$0")/../lib -r stormy
|
|
|
|
$LOAD_PATH << File.expand_path('../lib', File.dirname(__FILE__))
|
|
require 'stormy'
|
|
require 'stormy/models'
|
|
|
|
include Stormy::Models
|
|
|
|
require 'irb'
|
|
require 'irb/completion'
|
|
|
|
ARGV << '--simple-prompt'
|
|
IRB.start
|