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 Pronto::Formatter::SimpleDelegator #229

Closed
hmnhf opened this issue Apr 26, 2017 · 3 comments
Closed

Uninitialized constant Pronto::Formatter::SimpleDelegator #229

hmnhf opened this issue Apr 26, 2017 · 3 comments
Labels

Comments

@hmnhf
Copy link

hmnhf commented Apr 26, 2017

Hi, I'm getting this error when trying to run pronto.

~/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pronto-0.9.1/lib/pronto/formatter/text_message_decorator.rb:5:in `<module:Formatter>': uninitialized constant Pronto::Formatter::SimpleDelegator (NameError)
from ~/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pronto-0.9.1/lib/pronto/formatter/text_message_decorator.rb:4:in `<module:Pronto>'
from ~/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pronto-0.9.1/lib/pronto/formatter/text_message_decorator.rb:3:in `<top (required)>'
from ~/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from ~/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from ~/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pronto-0.9.1/lib/pronto/formatter/text_formatter.rb:1:in `<top (required)>'
from ~/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from ~/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from ~/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pronto-0.9.1/lib/pronto.rb:38:in `<top (required)>'
from ~/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
from ~/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
from ~/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pronto-0.9.1/bin/pronto:3:in `<top (required)>'
from ~/.rbenv/versions/2.3.1/bin/pronto:23:in `load'
from ~/.rbenv/versions/2.3.1/bin/pronto:23:in `<main>'

As a temporary fix, I'm requiring delegate in lib/pronto/formatter/text_message_decorator.rb .

@mmozuras mmozuras added the bug label Apr 26, 2017
@mmozuras
Copy link
Member

@aergonaut hey, could you take a loot at this issue? 🙂

@aergonaut
Copy link
Member

Yep!

@kasiabernad
Copy link

kasiabernad commented Apr 27, 2017

+1

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

No branches or pull requests

4 participants