Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/home/monkey/.gem/ruby/2.2.5/gems/dry-types-0.8.1/lib/dry/types/constraints.rb:8:in `curry': no implicit conversion of Class into Integer (TypeError)
from /home/monkey/.gem/ruby/2.2.5/gems/dry-types-0.8.1/lib/dry/types/constraints.rb:8:in `block in Rule'
from /home/monkey/.gem/ruby/2.2.5/gems/dry-types-0.8.1/lib/dry/types/constraints.rb:8:in `each'
from /home/monkey/.gem/ruby/2.2.5/gems/dry-types-0.8.1/lib/dry/types/constraints.rb:8:in `map'
from /home/monkey/.gem/ruby/2.2.5/gems/dry-types-0.8.1/lib/dry/types/constraints.rb:8:in `Rule'
from /home/monkey/.gem/ruby/2.2.5/gems/dry-types-0.8.1/lib/dry/types/builder.rb:22:in `constrained'
from /home/monkey/.gem/ruby/2.2.5/gems/dry-types-0.8.1/lib/dry/types/core.rb:32:in `block in <module:Types>'
from /home/monkey/.gem/ruby/2.2.5/gems/dry-types-0.8.1/lib/dry/types/core.rb:31:in `each'
from /home/monkey/.gem/ruby/2.2.5/gems/dry-types-0.8.1/lib/dry/types/core.rb:31:in `<module:Types>'
from /home/monkey/.gem/ruby/2.2.5/gems/dry-types-0.8.1/lib/dry/types/core.rb:2:in `<module:Dry>'
from /home/monkey/.gem/ruby/2.2.5/gems/dry-types-0.8.1/lib/dry/types/core.rb:1:in `<top (required)>'
from /opt/rubies/2.2.5/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /opt/rubies/2.2.5/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /home/monkey/.gem/ruby/2.2.5/gems/dry-types-0.8.1/lib/dry/types.rb:104:in `<top (required)>'
from /opt/rubies/2.2.5/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /opt/rubies/2.2.5/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /home/monkey/.gem/ruby/2.2.5/gems/dry-validation-0.9.5/lib/dry/validation/input_processor_compiler.rb:1:in `<top (required)>'
from /opt/rubies/2.2.5/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /opt/rubies/2.2.5/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /home/monkey/.gem/ruby/2.2.5/gems/dry-validation-0.9.5/lib/dry/validation/schema/deprecated.rb:1:in `<top (required)>'
from /opt/rubies/2.2.5/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /opt/rubies/2.2.5/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /home/monkey/.gem/ruby/2.2.5/gems/dry-validation-0.9.5/lib/dry/validation/schema.rb:16:in `<top (required)>'
from /opt/rubies/2.2.5/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /opt/rubies/2.2.5/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /home/monkey/.gem/ruby/2.2.5/gems/dry-validation-0.9.5/lib/dry/validation.rb:5:in `<top (required)>'
from /opt/rubies/2.2.5/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /opt/rubies/2.2.5/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /home/monkey/.gem/ruby/2.2.5/gems/dry-validation-0.9.5/lib/dry-validation.rb:1:in `<top (required)>'
from /opt/rubies/2.2.5/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require'
from /opt/rubies/2.2.5/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
from /opt/rubies/2.2.5/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'
from t.rb:1:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.