fixed issue due to updating Ruby and Rails versions