Skip to content

Instantly share code, notes, and snippets.

@tak1n tak1n/shell
Created Sep 21, 2016

Embed
What would you like to do?
benny@benny-Lenovo-Y50-70:~$ cd dev/ [21/21]
benny@benny-Lenovo-Y50-70:~/dev$ chruby 2.3.1
benny@benny-Lenovo-Y50-70:~/dev$ gs
fatal: Not a git repository (or any of the parent directories): .git
benny@benny-Lenovo-Y50-70:~/dev$ gh .
benny@benny-Lenovo-Y50-70:~/dev$ gem install dry-validation
Fetching: concurrent-ruby-1.0.2.gem (100%)
Successfully installed concurrent-ruby-1.0.2
Fetching: dry-configurable-0.1.7.gem (100%)
Successfully installed dry-configurable-0.1.7
Fetching: dry-container-0.5.0.gem (100%)
Successfully installed dry-container-0.5.0
Fetching: dry-equalizer-0.2.0.gem (100%)
Successfully installed dry-equalizer-0.2.0
Fetching: dry-core-0.1.0.gem (100%)
Successfully installed dry-core-0.1.0
Fetching: dry-logic-0.4.0.gem (100%)
Successfully installed dry-logic-0.4.0
Fetching: inflecto-0.0.2.gem (100%)
Successfully installed inflecto-0.0.2
Fetching: dry-monads-0.2.0.gem (100%)
Successfully installed dry-monads-0.2.0
Fetching: ice_nine-0.11.2.gem (100%)
Successfully installed ice_nine-0.11.2
Fetching: dry-types-0.8.1.gem (100%)
Successfully installed dry-types-0.8.1
Fetching: dry-validation-0.9.5.gem (100%)
Successfully installed dry-validation-0.9.5
Parsing documentation for concurrent-ruby-1.0.2
Installing ri documentation for concurrent-ruby-1.0.2
Parsing documentation for dry-configurable-0.1.7
Installing ri documentation for dry-configurable-0.1.7
Parsing documentation for dry-container-0.5.0
Installing ri documentation for dry-container-0.5.0
Parsing documentation for dry-equalizer-0.2.0
Installing ri documentation for dry-equalizer-0.2.0
Parsing documentation for dry-core-0.1.0
Installing ri documentation for dry-core-0.1.0
Parsing documentation for dry-logic-0.4.0
Installing ri documentation for dry-logic-0.4.0
Parsing documentation for inflecto-0.0.2
Installing ri documentation for inflecto-0.0.2
Parsing documentation for dry-monads-0.2.0
Installing ri documentation for dry-monads-0.2.0
Parsing documentation for ice_nine-0.11.2
Installing ri documentation for ice_nine-0.11.2
Parsing documentation for dry-types-0.8.1
Installing ri documentation for dry-types-0.8.1
Parsing documentation for dry-validation-0.9.5
Installing ri documentation for dry-validation-0.9.5
Done installing documentation for concurrent-ruby, dry-configurable, dry-container, dry-equalizer, dry-core, dry-logic, inflecto, dry-monads, ice_nine, dry-types, dry-validation after 5 seconds
11 gems installed
benny@benny-Lenovo-Y50-70:~/dev$ irb
irb(main):001:0> require 'dry-validation'
TypeError: no implicit conversion of Class into Integer
from /home/benny/dev/.gem/ruby/2.3.1/gems/dry-types-0.8.1/lib/dry/types/constraints.rb:8:in `curry'
from /home/benny/dev/.gem/ruby/2.3.1/gems/dry-types-0.8.1/lib/dry/types/constraints.rb:8:in `block in Rule'
from /home/benny/dev/.gem/ruby/2.3.1/gems/dry-types-0.8.1/lib/dry/types/constraints.rb:8:in `each'
from /home/benny/dev/.gem/ruby/2.3.1/gems/dry-types-0.8.1/lib/dry/types/constraints.rb:8:in `map'
from /home/benny/dev/.gem/ruby/2.3.1/gems/dry-types-0.8.1/lib/dry/types/constraints.rb:8:in `Rule'
from /home/benny/dev/.gem/ruby/2.3.1/gems/dry-types-0.8.1/lib/dry/types/builder.rb:22:in `constrained'
from /home/benny/dev/.gem/ruby/2.3.1/gems/dry-types-0.8.1/lib/dry/types/core.rb:32:in `block in <module:Types>'
from /home/benny/dev/.gem/ruby/2.3.1/gems/dry-types-0.8.1/lib/dry/types/core.rb:31:in `each'
from /home/benny/dev/.gem/ruby/2.3.1/gems/dry-types-0.8.1/lib/dry/types/core.rb:31:in `<module:Types>'
from /home/benny/dev/.gem/ruby/2.3.1/gems/dry-types-0.8.1/lib/dry/types/core.rb:2:in `<module:Dry>'
from /home/benny/dev/.gem/ruby/2.3.1/gems/dry-types-0.8.1/lib/dry/types/core.rb:1:in `<top (required)>'
from /home/benny/.rubies/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/benny/.rubies/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/benny/dev/.gem/ruby/2.3.1/gems/dry-types-0.8.1/lib/dry/types.rb:104:in `<top (required)>'
from /home/benny/.rubies/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/benny/.rubies/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
... 2 levels...
from /home/benny/.rubies/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/benny/dev/.gem/ruby/2.3.1/gems/dry-validation-0.9.5/lib/dry/validation/schema/deprecated.rb:1:in `<top (required)>'
from /home/benny/.rubies/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/benny/.rubies/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/benny/dev/.gem/ruby/2.3.1/gems/dry-validation-0.9.5/lib/dry/validation/schema.rb:16:in `<top (required)>'
from /home/benny/.rubies/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/benny/.rubies/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/benny/dev/.gem/ruby/2.3.1/gems/dry-validation-0.9.5/lib/dry/validation.rb:5:in `<top (required)>'
from /home/benny/.rubies/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/benny/.rubies/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/benny/dev/.gem/ruby/2.3.1/gems/dry-validation-0.9.5/lib/dry-validation.rb:1:in `<top (required)>'
from /home/benny/.rubies/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `require'
from /home/benny/.rubies/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `rescue in require'
from /home/benny/.rubies/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in `require'
from (irb):1
from /home/benny/.rubies/2.3.1/bin/irb:11: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.