Setup gem dependencies and fixed gitignore.