Fix ruby deps and foodcritic errors