Added version for rails dependency.