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

Version Path
doozer-0.4.4 templates/skeleton/script/console
doozer-0.4.3 templates/skeleton/script/console
doozer-0.4.2 templates/skeleton/script/console
doozer-0.4.1 templates/skeleton/script/console
doozer-0.4.0 templates/skeleton/script/console
doozer-0.3.1 templates/skeleton/script/console
doozer-0.3.0 templates/skeleton/script/console