<commit_before>node[:deploy].each do |application, deploy|
  rails_env = deploy[:rails_env]
  current_path = deploy[:current_path]

  Chef::Log.info("Bundling with --deployment option")

  execute 'bundle install --deployment' do
    cwd current_path
    user 'deploy'
    command "bundle install --deployment --without #{deploy[:ignore_bundler_groups].join(' ')} --path #{deploy[:home]}/.bundler/#{application}"
    environment 'RAILS_ENV' => rails_env
  end
end
<commit_msg>Logging bundler command properly<commit_after>node[:deploy].each do |application, deploy|
  rails_env = deploy[:rails_env]
  current_path = deploy[:current_path]

  Chef::Log.info("bundle install --deployment --without #{deploy[:ignore_bundler_groups].join(' ')} --path #{deploy[:home]}/.bundler/#{application}")

  execute 'bundle install --deployment' do
    cwd current_path
    user 'deploy'
    
    command "bundle install --deployment --without #{deploy[:ignore_bundler_groups].join(' ')} --path #{deploy[:home]}/.bundler/#{application}"
    environment 'RAILS_ENV' => rails_env
  end
end

{'fraction_non_alphanumeric': 0.15205223880597016, 'fraction_numerical': 0.0, 'mean_word_length': 4.8, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6595095', 'n_tokens_mistral': 345, 'n_tokens_neox': 325, 'n_words': 74}