Hi,

I had a doubt in Gemfile.lock.
Could we have multiple versions of a gem?
Say for the snippet pasted below from Gemfile.lock(rspec part,I could see
multiple versions) :








*rspec (2.99.0)      rspec-core (~> 2.99.0)      rspec-expectations (~>
2.99.0)      rspec-mocks (~> 2.99.0) rspec-core (2.99.1) rspec-expectations
(2.99.0)      diff-lcs (>= 1.1.3, < 2.0)rspec-mocks (2.99.1)*

Can't we just use rspec-core(2.99.1) or just maybe rspec-core (~> 2.99.0)
after all ~> probably means >=2.99.0 and < 3.0(correct me if am wrong).

or is it maybe there are certain features which run on a specific version
and are not supported by other version and hence we had to include both?

Kindly correct me if am wrong.

Thanks,
Jagori
_______________________________________________
QA mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/qa

Reply via email to