mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-19 21:18:23 +01:00

git-svn-id: file:///Users/frsyuki/project/msgpack-git/svn/x@48 5a5092ae-2292-43ba-b2d5-dcab9c1a2731
11 lines
437 B
Ruby
Executable File
11 lines
437 B
Ruby
Executable File
#!/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/msgpack.rb'}"
|
|
puts "Loading msgpack gem"
|
|
exec "#{irb} #{libs} --simple-prompt"
|