From f3d12d61b573583c13497166b4873b732b8e5742 Mon Sep 17 00:00:00 2001 From: Nathan Witmer Date: Tue, 9 Aug 2011 15:08:22 -0600 Subject: [PATCH] Tweak require statement for 1.8.7 compatibility --- lib/guard/rails-assets.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/guard/rails-assets.rb b/lib/guard/rails-assets.rb index 1756c75..aa23764 100644 --- a/lib/guard/rails-assets.rb +++ b/lib/guard/rails-assets.rb @@ -45,7 +45,7 @@ module Guard @runner ||= begin runner_name = (@options[:runner] || :rails).to_s - require_relative "rails-assets/#{runner_name}_runner" + require "guard/rails-assets/#{runner_name}_runner" ::Guard::RailsAssets.const_get(runner_name.capitalize + 'Runner').new(@options) end end