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

Emit warning when loading a gem that isn't bundled #10

Open
nogweii opened this issue Mar 10, 2014 · 1 comment
Open

Emit warning when loading a gem that isn't bundled #10

nogweii opened this issue Mar 10, 2014 · 1 comment

Comments

@nogweii
Copy link

nogweii commented Mar 10, 2014

I ran into the situation described in the README:

Before you rush off to try this, a word of warning: you will waste debugging time because of this. Why? Because running a require 'ampex' inside Pry works, but running a require 'ampex' outside Pry doesn't. "XOMGWTF? Ohhhh! GAH!!" I hear your future self cry as you forget this warning, and then painfully recall it.

So, is there a way to tell when a requested gem is not already part of the bundle and emit a warning when it's been requested? It would have indeed saved a lot of time...

@ConradIrwin
Copy link
Owner

Not trivially.... If you can figure out a way, I'd merge it.

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