Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8536099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:35:02+00:00 2026-06-11T10:35:02+00:00

here’s my current situation: I am working on a rails engine ( awesome_engine ).

  • 0

here’s my current situation:

I am working on a rails engine ( “awesome_engine” ). I do all development via a host application, i.e. a rails app that specifies this engine as a dependency in its Gemfile with the :path parameter

    gem "awesome_engine", :path => "awesome_engine"

This works well- the engine gem folder is under “awesome_engine” relative to the root of the host application. However “awesome_engine” references a gem that is also in development, “awesome_core”. awesome_engine/Gemfile therefore reads:

    gem "awesome_common", :path => "../awesome_core"

THe problem with this setup seems to be that Bundler does not look for a Gemfile in awesome_engine/ when it creates the application bundle for the host rails application, it only reads dependencies from the gemspec of “awesome_engine”, which is fine for any single gem you’d want to have loaded in its “unpackaged” state, not so great for when you want to work on a graph of related gems at the same time

Am i

a) trying to bite off more than i can chew and should just dump “awesome_core” in the Gemfile of the host app while it is under development and be happy with it ( i won’t be 🙂 )

b) missing something trivial on how to have Bundler do this

c) none of the above ( please specify: ________ )

thanks!
Andras

ps: i know Bundler does not parse “awesome_engine/Gemfile” because a) if i put crap in it bundle install in the host app still runs fine b) none of the other dependencies from that file end up in the host applications app bundle

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T10:35:03+00:00Added an answer on June 11, 2026 at 10:35 am

    So when you specify a gem through your (current project’s) Gemfile, it is assumed that you are referencing something with well defined dependencies. This means that it is expected that there is a valid .gemspec file that names those dependencies. But this you already know.

    My suggestion for c) would be to create your gems with bundle gem which sets up the gem in a way that information for it’s Gemfile is drawn from the .gemspec file. Have a look at http://gembundler.com/v1.2/bundle_gem.html and just generate a test gem and read its sources, it’s quite clear.

    I hope that solves your problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is the scenario: I'm writing an app that will watch for any changes
Here is the scenario. I'm writing my geo-ruby oracle adapter for Ruby On Rails
Here's what I'm trying to accomplish with this program: a recursive method that checks
Here is the problem that I am trying to solve. I have two folders
Here's what I'm doing. I want to upload multipart file via Ajax to my
Here is a code snippet I was working with: int *a; int p =
Here is my program to find all the subsets of given set. To solve
Here's the situation: void funct( unsigned u, double d, float f ) { u
Here are some facts about my app followed by a question My app has
Here is my scenario. I have a website running under AppPool1 and that works

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.