Tweak require statement for 1.8.7 compatibility
This commit is contained in:
parent
023204f04a
commit
f3d12d61b5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user