Tweak require statement for 1.8.7 compatibility

This commit is contained in:
Nathan Witmer 2011-08-09 15:08:22 -06:00
parent 023204f04a
commit f3d12d61b5

View File

@ -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