From 0a2b77c9c4fe0085adc3ef20ee49daddb00044e4 Mon Sep 17 00:00:00 2001 From: Simon Rozet Date: Fri, 26 Jun 2009 01:41:42 +0200 Subject: [PATCH] Require rack in lib/webrat.rb --- lib/webrat.rb | 1 + lib/webrat/core/mime.rb | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/webrat.rb b/lib/webrat.rb index dd4ba8f..04826d3 100644 --- a/lib/webrat.rb +++ b/lib/webrat.rb @@ -1,4 +1,5 @@ require "rubygems" +require "rack" $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__))) unless $LOAD_PATH.include?(File.expand_path(File.dirname(__FILE__))) diff --git a/lib/webrat/core/mime.rb b/lib/webrat/core/mime.rb index ccff3ec..873f729 100644 --- a/lib/webrat/core/mime.rb +++ b/lib/webrat/core/mime.rb @@ -1,5 +1,3 @@ -require "rack/mime" - module Webrat #:nodoc: module MIME #:nodoc: MIME_TYPES = Rack::Mime::MIME_TYPES.dup.merge(