Sha256: 07779cc6456a79c0be33347276d7ce0e24d96e6b17c0d93220dce62bc308f902
Contents?: true
Size: 547 Bytes
Versions: 44
Compression:
Stored size: 547 Bytes
Contents
#!/usr/bin/env ruby $: << "lib" require "simple/sql" #require "simple/store" SQL = Simple::SQL SQL.connect! module Reload extend self def load_file(path) STDERR.puts "Loading #{path}\n" load path end def load_dir(dir) Dir.glob("#{dir}/**/*.rb").sort.each_with_index do |path, idx| load_file path end end end $VERBOSE = nil def reload! Reload.load_dir "lib/simple" Reload.load_file "config/console-init.rb" end Reload.load_file "config/console-init.rb" require "irb" require "irb/completion" IRB.start
Version data entries
44 entries across 44 versions & 1 rubygems