LoginSignup
41
40

More than 1 year has passed since last update.

bundle install の速度を1.5倍 にする方法。 ( 並列実行 )

Last updated at Posted at 2015-10-21

$ bundle install -j4

これで4並列でインストールしてくれる。

4 というのは立ち上げるワーカーの数。
なぜ「4」なのかというと、端末のCPUコア数に合わせているからだ。

なので、走らせる環境が 8 コアなら、たぶん $ bundle install -j8 でも良いはず。

 

「bundle install 速度」で検索してもヒットしなかったので投稿。

詳しくは Bundlerで並列処理??bundle installを爆速で処理する方法。 を参照。

公式: http://bundler.io/v1.5/whats_new.html
( この解説によると、40% - 60% ぐらいの速度改善が見込まれるらしい )

 

Thanks to Hattori

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

メンター受付

41
40
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
41
40