Sha256: 46a285b5401d05ae3a1cc36c1b45b421a15dd0013a5906580f52b4605c0c8652

Contents?: true

Size: 442 Bytes

Versions: 1

Compression:

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
subprocess-0.1.6 script/console