Update gems
Fix warnings accessing instance variables in templates