foodsoft/vendor/plugins/will_paginate/test/console
2009-01-06 11:49:19 +01:00

8 lines
235 B
Ruby
Executable file

#!/usr/bin/env ruby
irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
libs = []
libs << 'irb/completion'
libs << File.join('lib', 'load_fixtures')
exec "#{irb} -Ilib:test#{libs.map{ |l| " -r #{l}" }.join} --simple-prompt"