Require rack in lib/webrat.rb
This commit is contained in:
parent
6cda9c79b4
commit
0a2b77c9c4
@ -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__)))
|
||||||
|
|
||||||
|
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user