Closed Vasu1105 closed 1 year ago
This error Error: undefined method 'build' for Dry::Logic::Rule::Predicate:Class is coming when the build method is called here https://github.com/dry-rb/dry-types/blob/main/lib/dry/types/constraints.rb#L16. Any idea what is wrong here?
Error: undefined method 'build' for Dry::Logic::Rule::Predicate:Class
build
Provide detailed steps to reproduce, an executable script would be best.
A clear and concise description of what you expected to happen.
Please upgrade to the latest versions of dry-logic and dry-types, there were changes to how gems are loaded. It's not always possible to coordinate version compatibility between gems.
Describe the bug
This error
Error: undefined method 'build' for Dry::Logic::Rule::Predicate:Class
is coming when thebuild
method is called here https://github.com/dry-rb/dry-types/blob/main/lib/dry/types/constraints.rb#L16. Any idea what is wrong here?To Reproduce
Provide detailed steps to reproduce, an executable script would be best.
Expected behavior
A clear and concise description of what you expected to happen.
My environment