Skip to content

Conversation

jeffutter
Copy link
Contributor

This fixes a problem in a project I am working on. We are working on a non-rails project but pull in some rails libraries for html sanitization. These libraries define Rails but not Rails::Railtie, thus rspec_api_documentation blows up when it tries to load the railtie.

oestrich added a commit that referenced this pull request Oct 1, 2015
Only load the railtie if Rails::Railtie is defined
@oestrich oestrich merged commit 3fc9cf9 into zipmark:master Oct 1, 2015
@oestrich
Copy link
Contributor

oestrich commented Oct 1, 2015

Thanks!

@jeffutter
Copy link
Contributor Author

That was fast :) Thanks for the quick response.

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

Successfully merging this pull request may close these issues.

2 participants