8 lines
220 B
Ruby
Executable file
8 lines
220 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
|
|
libs = []
|
|
|
|
libs << 'irb/completion'
|
|
libs << 'console_fixtures'
|
|
|
|
exec "#{irb} -Ilib:spec#{libs.map{ |l| " -r #{l}" }.join} --simple-prompt"
|