How to use bundle config local
I have private gem what is used in main project.
This gem is set up as another project, how to set that main project uses changes to gem made localy?
Attaching gems project to main project, allows just easy to edit it, main project not uses local changes as in Gemfile is:
gem "gem-name", git: "got-path", branch: "master"
This works from cmd:bundle config local.gem-name ~/PATH_TO_PROJECT/gem-name
How to set something like this with RubyMine 2024.1.4?
请先登录再写评论。
Hello,
Is there any /.bundle/config file in the project's root that specifies that?
used: macOS 14.5 M1
Yes, in projects root is hidden /.bundle/config file and it was without this path and has only this content:
cmd bundle config, shows path to different bundle file what is used, located in:
After is used cmd:
New entry is added to (/Users/my_username/.bundle/config), like:
So do you manage to work with that gem using bundler commands from the Terminal, for example?
Yes, for example project with commands works.
Could you please provide more details on how to reproduce the same setup as yours so that I can check it on my side? In addition, did you run Tools - Bundler - Install and did the gem in question appear in the External libraries node after that?