Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uninitialized constant Wrong::Date #50

Open
Phlip opened this issue Mar 25, 2020 · 0 comments
Open

uninitialized constant Wrong::Date #50

Phlip opened this issue Mar 25, 2020 · 0 comments

Comments

@Phlip
Copy link

Phlip commented Mar 25, 2020

I installed wrong to win an argument (and I won), but I couldn't run it...

$ ruby2.5 test_me.rb 
Traceback (most recent call last):
	11: from test_me.rb:2:in `<main>'
	10: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:in `require'
	 9: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
	 8: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `require'
	 7: from /var/lib/gems/2.5.0/gems/wrong-0.7.1/lib/wrong.rb:6:in `<top (required)>'
	 6: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	 5: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	 4: from /var/lib/gems/2.5.0/gems/wrong-0.7.1/lib/wrong/helpers.rb:5:in `<top (required)>'
	 3: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	 2: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	 1: from /var/lib/gems/2.5.0/gems/wrong-0.7.1/lib/wrong/close_to.rb:1:in `<top (required)>'
/var/lib/gems/2.5.0/gems/wrong-0.7.1/lib/wrong/close_to.rb:12:in `<module:Wrong>': uninitialized constant Wrong::Date (NameError)
Did you mean?  Data

ruby 2.5.5p157 on Raspbian and ruby 2.5.1p57 on Ubuntu both have the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant