Permalink
Browse files

output the source paths searched for easier debugging

  • Loading branch information...
1 parent 8a4e9ca commit f9631815b7ada075d866d29e4c2dffaa15c18a92 @jackdempsey jackdempsey committed Mar 31, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/thor/actions.rb
View
@@ -129,7 +129,7 @@ def find_in_source_paths(file)
raise Error, "You don't have any source path defined for class #{self.class.name}. To fix this, " <<
"you can define a source_root in your class."
else
- raise Error, "Could not find #{file.inspect} in source paths."
+ raise Error, "Could not find #{file.inspect} in source paths: \n#{source_paths.join("\n")}"
end
end

0 comments on commit f963181

Please sign in to comment.