Code Monkey home page Code Monkey logo

Comments (2)

kbrock avatar kbrock commented on June 9, 2024

To solve this, we link the foreign Gemfile in our Gemfile.
Example: https://github.com/ManageIQ/manageiq-api/blob/master/Gemfile#L12, though you can find this code in pretty much all the ManageIQ/manageiq-provider-* entries.

The correct link gets setup here: https://github.com/ManageIQ/manageiq-api/blob/master/bin/before_install#L16

$ cd project
$ MANAGEIQ_REPO=~/src/manageiq ./bin/setup # ln -s ~/src/manageiq spec/manageiq
$ tail -2 Gemfile

eval_gemfile(File.expand_path("spec/manageiq/Gemfile", __dir__))

It is stored in the before_install for use by travis. It has since been migrated to github actions.


not sure if git submodules or an ignored .bundler.d and a symbolic link / git checkout a single file from a common repository would work for you.

from bundler-inject.

Fryguy avatar Fryguy commented on June 9, 2024

@Whirlwind Yeah, I think eval_gemfile is more the way to go. bundler-inject is more about overriding things in existing Gemfiles, but it sounds like your request is more to completely use a different Gemfile base.

from bundler-inject.

Related Issues (8)

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.