ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Support for "local" Gemfile - Gemfile.local (Feature #506)


Added by Ammler _ at 2011-07-04 08:10 pm. Updated at 2011-07-22 09:51 pm.


Status:Closed Start date:2011-07-04
Priority:Normal Due date:
Assignee:Eric Davis % Done:

0%

Category:Libraries
Target version:2.1.0
Remote issue URL: Affected version:2.0.0

Description

please consider to support a local Gemfile so edit source file Gemfile is not needed, this is e.g. required to run cp with unicorn:

bundle exec unicorn_rails -E production

my patch suggestion: (also fixes faulty ignores for hg)
http://paste.pocoo.org/raw/429291/

from meineerde:
https://gist.github.com/1063860


Related issues

related to Feature #290: Add bundler Closed 2011-03-18

Associated revisions

Revision a35d61bf
Added by Eric Davis at 2011-07-22 11:48 pm

[#506] Read Gemfile.local for local gem inclusions.

Contributed by Holger Just

History

Updated by Gregor Schmidt at 2011-07-05 08:41 am

Is this any better than creating a vendor/plugins/local/Gemfile?

Updated by Ammler _ at 2011-07-05 09:31 am

You mean, I should make a Plugin to run cp with unicorn?

Updated by Gregor Schmidt at 2011-07-06 02:47 pm

Not a full-blown plugin - just a folder in vendor/plugins to put your Gemfile in.

I know, this seems like a weird work-around, but on the other hand, it would save us from another exception/special rule. And nobody knows, what this might buy us in the future.

This is just a proposal to fix your problem with minimal effort. If this is not feasible, please tell us.

Updated by Ammler _ at 2011-07-07 09:28 am

This workaround is good and working, thanks...

  • Status changed from Open to Closed

Updated by Eric Davis at 2011-07-12 11:05 pm

Thought of a use case where we will need a Gemfile.local (and one that I'll be using more and more).

Plugins installed as gems... A Gemfile.local would let you add gem plugins in there, which would then let them include their own dependencies as part of rubygems itself.

This will especially become important with Rails 3 since it makes having gem plugins (engines) easier.

  • Target version set to 2.1.0
  • Assignee set to Eric Davis
  • Category set to Libraries
  • Status changed from Closed to Open

Updated by Eric Davis at 2011-07-22 09:51 pm

I added support for a CHILIPROJECT_ROOT/Gemfile.local to master.

  • Subject changed from Support for "local" Gemfile to Support for "local" Gemfile - Gemfile.local
  • (deleted custom field) set to 2.0.0
  • Status changed from Open to Closed

Also available in: Atom PDF