Removed some Ruby warnings

Removed some Ruby warnings. Not all, though, some are from dependencies.