8
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

RubyGems / bundler の設定

Last updated at Posted at 2014-07-08

最近、色々と整理したのでまとめ。

RubyGems

  • --no-documentをデフォルトに
~/.gemrc
gem: --no-document

--no-ri --no-rdocdeprecatedらしい。

bundler

  • 並列処理させる
  • binを指定しておく
~/.bundle/config
---
BUNDLE_JOBS: '4'
BUNDLE_BIN: vendor/bin

direnv

  • インストール
brew install direnv
~/.zshrc
eval "$(direnv hook zsh)"
  • 各プロジェクトでの設定
.envrc
export PATH=$PWD/bin:$PWD/vendor/bin:$PATH

こうしておくと、bundle execいらないしRails 4binとぶつかる事もない。

8
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?