mirror of
https://github.com/github/rails.git
synced 2026-01-31 17:27:57 -05:00
Use to_sentence rather than inspect when reporting which registered plugins are missing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6291 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -46,7 +46,7 @@ module Rails
|
||||
unless registered_plugins.nil? || registered_plugins.empty?
|
||||
missing_plugins = registered_plugins - loaders.map(&:name)
|
||||
unless missing_plugins.empty?
|
||||
raise LoadError, "Could not locate the following plugins: #{missing_plugins.inspect}"
|
||||
raise LoadError, "Could not locate the following plugins: #{missing_plugins.to_sentence}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user