Sha256: a43dd62ddb30dff5fdba2e0a0f529462314ce7e173632126a494a9f55deadf37

Contents?: true

Size: 452 Bytes

Versions: 4

Compression:

Stored size: 452 Bytes

Contents

#!/usr/bin/env ruby
# File: script/console
irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'

libs =  " -r irb/completion"
# Perhaps use a console_lib to store any extra methods I may want available in the cosole
# libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
libs <<  " -r #{File.dirname(__FILE__) + '/../lib/merb-ext-direct.rb'}"
puts "Loading merb-ext-direct gem"
exec "#{irb} #{libs} --simple-prompt"

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
christocracy-christocracy-merb-extjs-direct-0.0.1 script/console
christocracy-christocracy-merb-extjs-direct-0.0.2 script/console
christocracy-merb-extjs-direct-0.0.1 script/console
merb-ext-direct-0.0.1 script/console