If a gem version is in beta or pre (the final part of the version can be any string, I think), pessimize doesn't currently work correctly. For example, the debugger2 gem has version "1.0.0.beta2", but using the constraint "~> 1.0" doesn't seem to include beta gems.
There are two ways round this:
- Don't add constraints to beta/pre gems, i.e.
gem "debugger2"
- Specify the exact version for beta/pre gems, i.e.
gem "debugger2", "1.0.0.beta2"
I'm leaning towards 1, as it's not ideal to lock down a gem version to always be in beta.
If a gem version is in beta or pre (the final part of the version can be any string, I think), pessimize doesn't currently work correctly. For example, the debugger2 gem has version "1.0.0.beta2", but using the constraint "~> 1.0" doesn't seem to include beta gems.
There are two ways round this:
gem "debugger2"gem "debugger2", "1.0.0.beta2"I'm leaning towards 1, as it's not ideal to lock down a gem version to always be in beta.