Require rack in lib/webrat.rb

This commit is contained in:
Simon Rozet 2009-06-26 01:41:42 +02:00
parent 6cda9c79b4
commit 0a2b77c9c4
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,5 @@
require "rubygems" require "rubygems"
require "rack"
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__))) unless $LOAD_PATH.include?(File.expand_path(File.dirname(__FILE__))) $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__))) unless $LOAD_PATH.include?(File.expand_path(File.dirname(__FILE__)))

View File

@ -1,5 +1,3 @@
require "rack/mime"
module Webrat #:nodoc: module Webrat #:nodoc:
module MIME #:nodoc: module MIME #:nodoc:
MIME_TYPES = Rack::Mime::MIME_TYPES.dup.merge( MIME_TYPES = Rack::Mime::MIME_TYPES.dup.merge(