How to use gems not in a Gemfile when working with bundler?

前端 未结 6 1353
失恋的感觉
失恋的感觉 2020-12-28 15:18

When using bundler with a project in general and Rails specifically, you have access only to gems defined in your Gemfile. While this makes sense, it can be limiting. Mostly

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-28 15:58

    I believe the gem Devpack provides the functionality you are looking for.

    The gem allows you to add a single gem to your Gemfile which will permit any developer to configure their own preferred set of development gems either for an individual project or globally by creating a .devpack file containing a list of gems.

    (I am the author of this gem; I came across this post while developing it so thought it may be worth adding).

提交回复
热议问题