Update gems and remove spec deprecation warnings.