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

darkfish documentation warning output when installing gem #948

Closed
Bartuz opened this issue Jan 5, 2016 · 7 comments
Closed

darkfish documentation warning output when installing gem #948

Bartuz opened this issue Jan 5, 2016 · 7 comments

Comments

@Bartuz
Copy link

Bartuz commented Jan 5, 2016

I just downloaded ruby 2.3 on my new system and installed dependencies on my project via: rvm use ruby-2.3.0 && cd rails/ && gem install bundle && bundle

I saw this output when parsing your documentation (this happened only to your gem)

Parsing documentation for mime-types-2.99
Installing ri documentation for mime-types-2.99
Installing darkfish documentation for mime-types-2.99
Parsing documentation for mail-2.6.3
Installing ri documentation for mail-2.6.3
Installing darkfish documentation for mail-2.6.3
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
Parsing documentation for actionmailer-4.2.5
Installing ri documentation for actionmailer-4.2.5
Installing darkfish documentation for actionmailer-4.2.5
Parsing documentation for rails-4.2.5
@Bartuz Bartuz changed the title Debug output when installing gem darkfish documentation warning output when installing gem Jan 5, 2016
@jeremy jeremy closed this as completed May 17, 2017
@ozgg
Copy link

ozgg commented May 21, 2017

I had the same thing today (rbenv ruby 2.4.1) when did gem update:

Installing darkfish documentation for mail-2.6.5
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
(eval):21: warning: else without rescue is useless
Done installing documentation for mail after 11 seconds

@jeremy
Copy link
Collaborator

jeremy commented May 21, 2017

@ozgg Can you reproduce with rdoc --verbose to identify where the warning is arising? This output isn't enough to go on.

@ozgg
Copy link

ozgg commented May 22, 2017

@jeremy I'm not sure if I did everything right, but here is gist of output for rdoc --verbose which I ran in ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mail-2.6.5

@jeremy
Copy link
Collaborator

jeremy commented May 22, 2017

Hmm no warnings there. Not sure what is tickling it, then!

@ozgg
Copy link

ozgg commented May 22, 2017

@jeremy maybe there is something to do with combination of rdoc, darkfish and mail? Anyway I don't think that's something critical :)

@ozgg
Copy link

ozgg commented May 22, 2017

I think it's only the problem of darkfish documenter, because there are pretty much similar warnings having darkfish with eval for other gems in Google.

@jeremy
Copy link
Collaborator

jeremy commented May 22, 2017

Looks like this is fixed by https://github.com/rdoc/rdoc/pull/440

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

3 participants