diff --git a/.byebug_history b/.byebug_history deleted file mode 100644 index 5b6985884..000000000 --- a/.byebug_history +++ /dev/null @@ -1 +0,0 @@ -next diff --git a/post-bundle-install.rb b/post-bundle-install.rb index 85451e912..d35308c70 100644 --- a/post-bundle-install.rb +++ b/post-bundle-install.rb @@ -17,7 +17,7 @@ %w[chef-utils chef-config].each do |gem_need_install| 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") # FIXME: should strip any valid ruby platform off of the gem_name if it matches next unless gem_name @@ -25,8 +25,8 @@ 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" + system("gem install #{gem_name}*.gem --conservative --minimal-deps --no-document") or raise "gem install failed" end end end