Permalink
Browse files

Prevent a 'can't convert Pathname into String' error with Ruby 1.9.2.

  • Loading branch information...
1 parent e0cdc2e commit 8bdda051a80a21b4706cf4677faf88864aef3cc5 Rémy Coutable committed Dec 2, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/guard/compass.rb
@@ -67,7 +67,7 @@ def create_updater
::Compass.add_configuration filepath
options[:configuration_file] = filepath
else
- reporter.failure "Compass configuration file not found: " + filepath + "\nPlease check Guard configuration."
+ reporter.failure "Compass configuration file not found: #{filepath}\nPlease check Guard configuration."
end
end
@updater = ::Compass::Commands::UpdateProject.new(@options[:workdir] , @options)

0 comments on commit 8bdda05

Please sign in to comment.