Revert code.
Add gems into .gitignore.