Sha256: 572507aba323465cbee1ecc7c4e1c18d39f75d47d2fdff089bf3c28ce8b20458

Contents?: true

Size: 883 Bytes

Versions: 6

Compression:

Stored size: 883 Bytes

Contents

#!/opt/local/bin/ruby
#---
# Excerpted from "Scripted GUI Testing With Ruby",
# published by The Pragmatic Bookshelf.
# Copyrights apply to this code. It may not be used to create training material, 
# courses, books, articles, and the like. Contact us if you are in doubt.
# We make no guarantees that this code is fit for any purpose. 
# Visit http://www.pragmaticprogrammer.com/titles/idgtr for more book information.
#---

require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)

# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
require "dispatcher"

ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
Dispatcher.dispatch

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
win_gui-0.1.6 book_code/novite/public/dispatch.rb
win_gui-0.1.4 book_code/novite/public/dispatch.rb
win_gui-0.1.3 book_code/novite/public/dispatch.rb
win_gui-0.1.2 book_code/novite/public/dispatch.rb
win_gui-0.1.1 book_code/novite/public/dispatch.rb
win_gui-0.1.0 book_code/novite/public/dispatch.rb