💾 Archived View for g.codelearn.me › 2018-01-25-bundle-usage.gmi captured on 2024-05-10 at 11:05:56. 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.