summaryrefslogtreecommitdiff
path: root/omnibus
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2016-03-03 12:37:21 -0800
committerJohn Keiser <john@johnkeiser.com>2016-03-09 17:11:55 -0800
commitf15eba0ec1e33a60236ebc864d10e662278c5d90 (patch)
tree04c86acf5e3301533dc6b1d7d9533fe1cc372729 /omnibus
parentebffe2bfd756eefd589dfd86ac652e53b273aa34 (diff)
downloadchef-f15eba0ec1e33a60236ebc864d10e662278c5d90.tar.gz
Use ruby 2.1.8 on both windows and unixjk/ruby-2.1.8
Diffstat (limited to 'omnibus')
-rw-r--r--omnibus/config/projects/chef.rb15
1 files changed, 4 insertions, 11 deletions
diff --git a/omnibus/config/projects/chef.rb b/omnibus/config/projects/chef.rb
index 779a2b3a5e..1b6e373725 100644
--- a/omnibus/config/projects/chef.rb
+++ b/omnibus/config/projects/chef.rb
@@ -34,17 +34,10 @@ else
install_dir "#{default_root}/#{name}"
end
-if windows?
- override :ruby, version: "2.0.0-p645"
- # Leave dev-kit pinned to 4.5 because 4.7 is 20MB larger and we don't want
- # to unnecessarily make the client any fatter.
- if windows_arch_i386?
- override :'ruby-windows-devkit', version: "4.5.2-20111229-1559"
- end
-else
- override :ruby, version: "2.1.6"
-end
-
+override :ruby, version: "2.1.8"
+# Leave dev-kit pinned to 4.5 because 4.7 is 20MB larger and we don't want
+# to unnecessarily make the client any fatter.
+override :'ruby-windows-devkit', version: "4.5.2-20111229-1559" if windows? && windows_arch_i386?
override :bundler, version: "1.11.2"
override :rubygems, version: "2.5.2"