Sha256: e3ac459901beeeb52df9b0ab9f7b7fa43eee964d133cbcb754a85cfe5406de7d

Contents?: true

Size: 452 Bytes

Versions: 8

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/sinatra-cometio.rb'}"
puts "Loading sinatra-cometio gem"
exec "#{irb} #{libs} --simple-prompt"

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sinatra-cometio-0.0.8 script/console
sinatra-cometio-0.0.7 script/console
sinatra-cometio-0.0.6 script/console
sinatra-cometio-0.0.5 script/console
sinatra-cometio-0.0.4 script/console
sinatra-cometio-0.0.3 script/console
sinatra-cometio-0.0.2 script/console
sinatra-cometio-0.0.1 script/console