Update default.rb

Added a guard