Sha256: 138edd33ec87810783827c1cd6728e632612766f3a1e4fce4276f54d0a46c0ec

Contents?: true

Size: 438 Bytes

Versions: 4

Compression:

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-mpc-0.0.5 script/console
ruby-mpc-0.0.4 script/console
ruby-mpc-0.0.3 script/console
ruby-mpc-0.0.2 script/console