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

plugin loading raises exception when called from Rails #36

Closed
lukemelia opened this issue Nov 12, 2009 · 1 comment
Closed

plugin loading raises exception when called from Rails #36

lukemelia opened this issue Nov 12, 2009 · 1 comment

Comments

@lukemelia
Copy link

When running YARD inside a Rails process, Gem.source_index returns a rails object which doesn't respond to :all_gems so load_plugins blows up.

@lsegal
Copy link
Owner

lsegal commented Nov 12, 2009

Use Gem.source_index.entries instead of all_gems (Rails compatibility)

Closed by 518e16e

This issue was closed.
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

2 participants