root/lang/c/msgpack/trunk/ruby/gem/script/console @ 17708

Revision 17708, 437 bytes (checked in by frsyuki, 5 years ago)

lang/c/msgpack: added Messagepack, a binary-based efficient data interchange format.

  • Property svn:executable set to *
RevLine 
[17708]1#!/usr/bin/env ruby
2# File: script/console
3irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
4
5libs =  " -r irb/completion"
6# Perhaps use a console_lib to store any extra methods I may want available in the cosole
7# libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
8libs <<  " -r #{File.dirname(__FILE__) + '/../lib/msgpack.rb'}"
9puts "Loading msgpack gem"
10exec "#{irb} #{libs} --simple-prompt"
Note: See TracBrowser for help on using the browser.