Gem replaces Database file