diff options
Diffstat (limited to 'vendor/plugins/will_paginate/test/console')
| -rwxr-xr-x | vendor/plugins/will_paginate/test/console | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/plugins/will_paginate/test/console b/vendor/plugins/will_paginate/test/console new file mode 100755 index 00000000..3f282f11 --- /dev/null +++ b/vendor/plugins/will_paginate/test/console | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | #!/usr/bin/env ruby | ||
| 2 | irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb' | ||
| 3 | libs = [] | ||
| 4 | |||
| 5 | libs << 'irb/completion' | ||
| 6 | libs << File.join('lib', 'load_fixtures') | ||
| 7 | |||
| 8 | exec "#{irb} -Ilib:test#{libs.map{ |l| " -r #{l}" }.join} --simple-prompt" | ||
