diff options
| author | Matt Hicks <mhicks@redhat.com> | 2008-06-09 17:20:16 -0400 |
|---|---|---|
| committer | Matt Hicks <mhicks@redhat.com> | 2008-06-09 17:21:57 -0400 |
| commit | d66e9168e598b4c01e2eeb768dc6cf00f6c3b175 (patch) | |
| tree | 8f9c44062f7c56cc2d959a8e9dbdf0ae543f6731 /ev/running/script/console | |
| parent | 40cbdbedf9436bc8a71bba05d7c1daad12c3bd16 (diff) | |
| download | tools-d66e9168e598b4c01e2eeb768dc6cf00f6c3b175.tar.gz tools-d66e9168e598b4c01e2eeb768dc6cf00f6c3b175.tar.xz tools-d66e9168e598b4c01e2eeb768dc6cf00f6c3b175.zip | |
Initial ev commit
Diffstat (limited to 'ev/running/script/console')
| -rwxr-xr-x | ev/running/script/console | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ev/running/script/console b/ev/running/script/console new file mode 100755 index 0000000..f7863c1 --- /dev/null +++ b/ev/running/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/running.rb'}" +puts "Loading running gem" +exec "#{irb} #{libs} --simple-prompt"
\ No newline at end of file |
