Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby version for Chef

Can Chef support newer versions of Ruby i.e. 2.0.0? If not , is there a reason why?

In the documentation it specified up to 1.9.2 https://wiki.opscode.com/display/chef/System+Requirements+with+install (dead link)

like image 975
Noel Avatar asked Nov 19 '13 08:11

Noel


People also ask

Does Chef use Ruby?

Chef uses a Ruby based domain specific language, which is usually abbreviated as “DSL.” A DSL is a language used for a specific purpose. And in the case of Chef, the recipe DSL provides a consistent way to work with resources.


2 Answers

Chef 11.6+ supports Ruby 2.0. Versions less than that will only work on Ruby 1.8 and 1.9.

Sources:

  • I work for Opscode
  • I use Chef on Ruby 2.0, 1.9, and 1.8
like image 172
sethvargo Avatar answered Oct 08 '22 22:10

sethvargo


Documentation might need some updating. Chef supports ruby 2.0 according to this blogpost

http://www.opscode.com/blog/2013/09/03/chef-10-28-0-released/

like image 34
Philip Reynolds Avatar answered Oct 08 '22 21:10

Philip Reynolds