Another Japan in the World

Jun Aruga's blog, who lived in Japan, Singapore, live in Czech Republic. Mainly about IT and travel.

Ruby Bundler

Bundler is Ruby's gem package management tool.

This time I will write a note about this tool.


$ gem install bundle


$ bundle --help
$ bundle help [command]
$ bundle --version



bundle install

It looks better practice to specify the installed path every time.

$ install --path vendor/bundle

If without path, the gems are installed in gem "INSTALLATION DIRECTORY".

$ gem env
  - INSTALLATION DIRECTORY: $HOME/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0

bundle config

The config file is below path.

cat ~/.bundle/config