bin/appbundle-updater in appbundle-updater-1.0.3 vs bin/appbundle-updater in appbundle-updater-1.0.4
- old
+ new
@@ -132,11 +132,11 @@
chef_install_command =
if windows?
"#{bin_dir.join("gem")} build chef-windows.gemspec & #{bin_dir.join("gem")} install chef*.gem --no-document"
else
- "#{bin_dir.join("rake")} install"
+ "#{bin_dir.join("bundle")} exec #{bin_dir.join("rake")} install"
end
CHEFDK_APPS = [
App.new(
"berkshelf",
@@ -148,14 +148,14 @@
"chef",
"chef/chef",
"server docgen maintenance pry travis integration ci chefstyle",
chef_install_command,
{
- "chef" => %w{server docgen maintenance pry travis integration ci chefstyle},
- "chef-bin" => %w{server docgen maintenance pry travis integration ci chefstyle},
- "ohai" => %w{development docs ci debug},
- "inspec-core-bin" => %w{server docgen maintenance pry travis integration ci chefstyle},
+ "chef" => %w{docgen chefstyle},
+ "chef-bin" => %w{development},
+ "ohai" => %w{development docs debug},
+ "inspec-core-bin" => %w{development},
},
),
App.new(
"chef-dk",
"chef/chef-dk",
@@ -202,11 +202,11 @@
"#{bin_dir.join("rake")} install"
),
App.new(
"ohai",
"chef/ohai",
- "ci docs debug",
+ "development docs debug",
"#{bin_dir.join("rake")} install"
),
App.new(
"test-kitchen",
"test-kitchen/test-kitchen",
@@ -281,10 +281,10 @@
end
banner("Installing gem")
Dir.chdir(app_dir) do
Array(install_commands).each do |command|
- ruby("#{bin_dir.join("bundle")} exec #{command}")
+ ruby(command)
end
end
banner("Updating appbundler binstubs for #{app}")
if gems.empty?