💾 Archived View for g.codelearn.me › 2018-01-25-bundle-usage.gmi captured on 2023-03-20 at 17:46:55. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
Hey.
I mostly use PHP or Node.js and sometimes I have to touch Ruby projects.
I know I can run `bundle install` to install deps from Gemfile but I was unable to find them in the project directory.
It turned out the reason is they are installed globally. It doesn't fit my needs sometimes so I had to find the way to install them locally.
They solution is:
it will install packages into local directory but you were not be able to call binaries. Ok...
The solution for this is to run binaries via `bundle exec` like so:
Works perfectly.