@@ -116,7 +116,8 @@ def install_bundler(runtime_ctx, bundler_version):
116116def bundle_install (runtime_ctx , previous_result ):
117117 cwd = runtime_ctx .ctx .path ("." )
118118 bundler_args = [
119- "install" , "-V" ,
119+ "install" ,
120+ "-V" ,
120121 "--standalone" ,
121122 "--gemfile={}" .format (runtime_ctx .ctx .attr .gemfile .name ),
122123 "--jobs=10" , # run a few jobs to ensure no gem install is blocking another
@@ -136,7 +137,10 @@ def bundle_install(runtime_ctx, previous_result):
136137
137138 # Creates a directory and place any executables from the gem there.
138139 result = run_bundler (runtime_ctx , [
139- "binstubs" , "--all" , "--path" , "{}" .format (BUNDLE_BIN_PATH )
140+ "binstubs" ,
141+ "--all" ,
142+ "--path" ,
143+ "{}" .format (BUNDLE_BIN_PATH ),
140144 ], previous_result )
141145 if result .return_code :
142146 fail ("bundle binstubs failed: %s%s" % (result .stdout , result .stderr ))
@@ -203,7 +207,7 @@ def _ruby_bundle_impl(ctx):
203207
204208 # 2. Generate a Gemfile.lock file if one isn't provided
205209 if not runtime_ctx .ctx .attr .gemfile_lock :
206- result = set_bundler_config (runtime_ctx , result , has_lock = False )
210+ result = set_bundler_config (runtime_ctx , result , has_lock = False )
207211 result = bundle_install (runtime_ctx , result )
208212
209213 # 3. Set Bundler config in the .bundle/config file
0 commit comments