Skip to content

Commit

Permalink
Follow up of [1423]. Forgot to commit fix for ensure_config_helper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Severin Gehwolf authored and Severin Gehwolf committed Sep 25, 2010
1 parent 97c706d commit 9c3df4d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/helpers/ensure_config_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ def self.check_if_executes( filename, constant_name )
if error =~ /Errno::ENOENT/
raise I18n.t("ensure_config.file_does_not_execute", :constant_name => constant_name, :file_name => filename, :config_location => "config/environments/#{Rails.env}.rb")
else
raise I18n.t("ensure_config.error_writing_to_pipe", :error => error, :file_name => filename, :config_location => "config/environments/#{Rails.env}.rb")
# This may not indicate an error (maybe just authentication failed and something
# was printed to stderr). Log this, but do no more.
$stderr.puts I18n.t("ensure_config.error_writing_to_pipe", :error => error, :file_name => filename, :config_location => "config/environments/#{Rails.env}.rb")
end
end
end
Expand Down

0 comments on commit 9c3df4d

Please sign in to comment.