Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 10 lines (9 sloc) 0.446 kb
4280cef @gaspard Initial extraction of from zena (http://zenadmin.org).
authored
1 #!/usr/bin/env ruby
2 # File: script/console
3 irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
4
5 libs = " -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'}"
8 libs << " -r #{File.dirname(__FILE__) + '/../lib/QueryBuilder.rb'}"
9 puts "Loading QueryBuilder gem"
10 exec "#{irb} #{libs} --simple-prompt"
Something went wrong with that request. Please try again.