Sha256: 74c27a7382dca3d6669fcfeedbcde6354ea5b938e39d4c313d268316ef7e2996
Contents?: true
Size: 483 Bytes
Versions: 7
Compression:
Stored size: 483 Bytes
Contents
#!/usr/bin/env ruby require 'irb' APP_PATH = Dir.pwd boot = File.join(APP_PATH, 'config/boot') require boot @env = (ARGV.length > 0) ? ARGV[0] : 'development' ARGV.delete(@env) if ARGV.include?(@env) @env = @env.to_sym puts "[Doozer #{Doozer::Version::STRING}]" # see http://ruby-doc.org/core/ for more options IRB.conf[:LOAD_MODULES] = ["irb/completion", boot, "#{DOOZER_PATH}/doozer/scripts/console"] IRB.conf[:USE_READLINE] = true IRB.load_modules() IRB.parse_opts() IRB.start()
Version data entries
7 entries across 7 versions & 1 rubygems