Exclude file-magic from spec file and add rails dependency to gemspec