add rails dependency