Skip to content

Commit

Permalink
Remove bybug file
Browse files Browse the repository at this point in the history
Signed-off-by: nitin sanghi <nsanghi@progress.com>
  • Loading branch information
sanghinitin committed Sep 26, 2024
1 parent 192df7f commit 788b0d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .byebug_history

This file was deleted.

6 changes: 3 additions & 3 deletions post-bundle-install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@

%w[chef-utils chef-config].each do |gem_need_install|

Check failure on line 18 in post-bundle-install.rb

View workflow job for this annotation

GitHub Actions / chefstyle

[Correctable] Style/PercentLiteralDelimiters: %w-literals should be delimited by { and }.
dir_path = "#{gempath}/#{gem_need_install}"
gem_name = File.basename(Dir["#{dir_path}/*.gemspec"].first, '.gemspec')
gem_name = File.basename(Dir["#{dir_path}/*.gemspec"].first, ".gemspec")

Check failure on line 20 in post-bundle-install.rb

View workflow job for this annotation

GitHub Actions / chefstyle

[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.
# FIXME: should strip any valid ruby platform off of the gem_name if it matches

next unless gem_name

puts "re-installing #{gem_name}..."

Dir.chdir(dir_path) do
system("gem build #{gem_name}.gemspec") or raise 'gem build failed'
system("gem install #{gem_name}*.gem --conservative --minimal-deps --no-document") or raise 'gem install failed'
system("gem build #{gem_name}.gemspec") or raise "gem build failed"

Check failure on line 28 in post-bundle-install.rb

View workflow job for this annotation

GitHub Actions / chefstyle

[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.
system("gem install #{gem_name}*.gem --conservative --minimal-deps --no-document") or raise "gem install failed"

Check failure on line 29 in post-bundle-install.rb

View workflow job for this annotation

GitHub Actions / chefstyle

[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.
end
end
end

0 comments on commit 788b0d5

Please sign in to comment.