diff options
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 |
