test/runhttp.rb in rio-0.5.1 vs test/runhttp.rb in rio-0.6.0
- old
+ new
@@ -1,10 +1,11 @@
-#!/usr/local/bin/ruby
+#!/usr/bin/env ruby
Dir.chdir File.dirname(__FILE__)
$:.unshift File.expand_path('../lib/')
$:.unshift File.expand_path('../test/')
require 'rio'
+p "[#{RUBY_PLATFORM}] - Ruby(#{RUBY_VERSION}) - Rio(#{RIO::VERSION})"
require 'lib/temp_server'
require 'pp'
runtestpath = File.expand_path('runhttptests.rb')
TempServer.run(runtestpath)