Refactored error message
Problems with rakefile