diff options
| author | Matt Hicks <mhicks@redhat.com> | 2008-06-11 13:44:22 -0400 |
|---|---|---|
| committer | Matt Hicks <mhicks@redhat.com> | 2008-06-11 13:44:22 -0400 |
| commit | 2d6ef1395c4cc390ce513dd79584f0928f6e683d (patch) | |
| tree | de271e6567c93cb40dfdfaefb8d1e984b9087f42 /ev/vm/script/console | |
| parent | d97dcb6428499647233130de710b5c838376a8e0 (diff) | |
Adding some more app function
Diffstat (limited to 'ev/vm/script/console')
| -rwxr-xr-x | ev/vm/script/console | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ev/vm/script/console b/ev/vm/script/console new file mode 100755 index 0000000..557d82b --- /dev/null +++ b/ev/vm/script/console @@ -0,0 +1,10 @@ +#!/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/vm.rb'}" +puts "Loading vm gem" +exec "#{irb} #{libs} --simple-prompt"
\ No newline at end of file |
