Comments (3)
Hey @andyw8, thanks for the report, I was able to recreate that exact situation.
It is a tricky problem since we try to load all the gems in all the groups in the Gemfile
so that we can generate an RBI file for all the possible gem dependencies. Right now, I am not sure how I can make Bundler skip ones that it cannot find, though, but I'll take a look.
Let me know if you have any ideas as well.
from tapioca.
I see there's a raise_on_missing
option here on #for
, might be helpful:
from tapioca.
Indeed there is, but there are a few layers between that and the setup(*groups).require(*groups)
call that we want to make which makes it impossible for us to pass the parameters we want to it. The alternative seems to be to replicate the behaviour of setup
and/or require
, but I'd rather not fork Bundler if we don't have to.
Let's think about this a bit more, maybe we can come up with a solution.
from tapioca.
Related Issues (20)
- Running tapioca throws NoMethodError HOT 2
- IdentityCache compiler misses a fetch_multi_* HOT 3
- Support for granular `rails` framework usage
- Rails engines with tapioca does not seems to work HOT 1
- Create a CHANGELOG.md file HOT 1
- IdentityCache compiler generates wrong return types for `fetch_multi_n_by_m` fields HOT 1
- RBI generated for ActiveModel with custom types seems to be incorrect HOT 4
- `tapioca gems` stucks HOT 6
- Unable to get correct typing for protobuf defined in gem HOT 4
- `tapioca dsl --verify` succeeds when it should fail HOT 4
- `tapioca dsl` rejects valid values from `--exclude` if they are not loaded HOT 2
- Is there a way to write a compiler that defines multiple `sig` for a single method? HOT 6
- please add a CHANGELOG.md file HOT 1
- Inconstent line references in `check-shims`
- Annotations for classes with multiple sources
- Protobuf tapioca generated files broken HOT 4
- API change in google-protobuf 4.26.0 breaks CI HOT 2
- Active record relations compiler generates incorrect `sum` sigs HOT 7
- Automatically resolve superclass redefinition errors while generating gem RBIs
- Support postgres `cidr` attribute type
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 tapioca.