irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb' libs = " -r irb/completion" libs << " -r test/test_helper" libs << " -r test/console_with_fixtures" libs << " -r console_app" libs << " -r console_with_helpers" exec "#{irb} #{libs} --simple-prompt"