aboutsummaryrefslogtreecommitdiffstats
path: root/lib/alaveteli_external_command.rb
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2013-03-03 14:52:30 +1100
committerHenare Degan <henare.degan@gmail.com>2013-03-03 14:52:30 +1100
commitcbdff06aa95a7987b54c712dc6729e138f608eca (patch)
treeb101dd575c5cab97675c0ac488e68fa6cbd0c4fd /lib/alaveteli_external_command.rb
parentf02881b5bf5cc4d633983100078be2e64b8e6fcc (diff)
Rename Configuration class to avoid conflict with ActiveSupport::Configurable
Diffstat (limited to 'lib/alaveteli_external_command.rb')
-rw-r--r--lib/alaveteli_external_command.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/alaveteli_external_command.rb b/lib/alaveteli_external_command.rb
index 24b4b1aa8..ac91a5867 100644
--- a/lib/alaveteli_external_command.rb
+++ b/lib/alaveteli_external_command.rb
@@ -21,14 +21,14 @@ module AlaveteliExternalCommand
program_path = program_name
else
found = false
- Configuration::utility_search_path.each do |d|
+ AlaveteliConfiguration::utility_search_path.each do |d|
program_path = File.join(d, program_name)
if File.file? program_path and File.executable? program_path
found = true
break
end
end
- raise "Could not find #{program_name} in any of #{Configuration::utility_search_path.join(', ')}" if !found
+ raise "Could not find #{program_name} in any of #{AlaveteliConfiguration::utility_search_path.join(', ')}" if !found
end
xc = ExternalCommand.new(program_path, *args)