Giter Site home page Giter Site logo

Comments (3)

paracycle avatar paracycle commented on June 15, 2024

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.

andyw8 avatar andyw8 commented on June 15, 2024

I see there's a raise_on_missing option here on #for, might be helpful:

https://github.com/bundler/bundler/blob/d9ea09defd07e9957ae782ab7960ebea92515c3c/lib/bundler/spec_set.rb#L15

from tapioca.

paracycle avatar paracycle commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.