Skip to content

Instantly share code, notes, and snippets.

@oudam-meas
Last active July 17, 2018 03:31
Show Gist options
  • Save oudam-meas/ac1ef538338f64f38e0825422539aa16 to your computer and use it in GitHub Desktop.
Save oudam-meas/ac1ef538338f64f38e0825422539aa16 to your computer and use it in GitHub Desktop.

Bunder, Install gems inside project directory

To make a project myapp to have its bundler install gems inside the project path with below this command - bundle config --local path <the path>

Assume the project directory is myapp

~:$ cd myapp
~/myapp:$ bundle config --local path vendor/bundle
~/myapp:$ bundle install

That's it. Doing this, new directry is created : ~/myapp/vendor/bundle, will all gem files for the project. read more at official documentation page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment