Merge pull request #7 from aniero/1.8.7-compatibility

Tweak require statement for 1.8.7 compatibility
This commit is contained in:
Dmytrii Nagirniak 2011-08-09 17:16:01 -07:00
commit 320486cc5a

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