Sha256: 3c414c3fe2e00ddc8cd76e4c1201cf93cd597d48d913724b3cbed79d49707cb7

Contents?: true

Size: 430 Bytes

Versions: 3

Compression:

Stored size: 430 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/rube.rb'}"
puts "Loading rube gem"
exec "#{irb} #{libs} --simple-prompt"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rube-0.1.0 script/console
rube-0.1.1 script/console
rube-0.1.2 script/console