Comments (7)
I think this intentionally blows up when it does not know the gem. The gem is not available (yet) so it complains.
Do you want to be able to override gems that are not part of the gemfile at all and have them act like a gem
command? I do something like that in my own Gemfiles
from bundler-inject.
Didn't we add ensure_gem
for this?
from bundler-inject.
No, this is a different issue from ensure_gem.
from bundler-inject.
Though that being said, maybe ensure_gem would work for this case? If so, we should document that.
from bundler-inject.
If the issue is that the gem you're trying to override isn't in the main Gemfile but rather brought in by another gem, then I use ensure_gem
for this all the time...basically anytime I need to override a provider sdk gem.
from bundler-inject.
Maybe that's an "undocumented" use case of ensure_gem
but it 100% works 😄
from bundler-inject.
Ok, interesting - yeah then we should at least document it in the README, and then we can close this, or change it to a feature request.
from bundler-inject.
Related Issues (7)
- Test against multiple bundler versions in CI
- Ensure gem with require doesn't actually require the gem HOT 4
- Bundler fails on production with the plugin added HOT 2
- [Feature Request] Allow config the gemfile directory instead of `bundler.d/` HOT 2
- Dependency Dashboard
- Use `Bundler::Settings` for `warn_override_gem` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bundler-inject.