Test gemfile lock dependency specifications
This is a test to demonstrate how dependencies specified in the Gemfile.lock retain their specification version.
- In Gemfile.lock, under webmock, note
crack (>= 0.1.7)
is specified. - In Gemfile.lock, note
crack (0.3.2)
is specified. - Run
gem search crack -ra | grep "^crack ("
- Verify a version newer than crack 0.3.2 is specified (e.g. 0.4.0)
- Run
bundle install --deployment
- Verify
Installing crack (0.3.2)
is output to stdout. - Run
find ./ -type d -name crack-0.3.2
- Verify crack 0.3.2 was installed in the vendor path.