Upgrade Gem dependencies and fix case.

Fix an issue with case-sensitive environment, like my new Mac :)

Upgrade Gem dependencies to avoid issue with outdated libraries.