Removing deprecated code

:rubygems is deprecated. Also added a new line to the end of the file.