# ChefDK updating to newer Ruby?

**URL:** <https://discourse.chef.io/t/chefdk-updating-to-newer-ruby/7548>\
**Category:** Chef Infra (archive)\
**Created:** [January 4, 2016, 6:14pm UTC](https://discourse.chef.io/t/chefdk-updating-to-newer-ruby/7548 "2016-01-04T18:14:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amaltson](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/amaltson/32/724_2.png) [@amaltson](https://discourse.chef.io/u/amaltson)\
**Post date:** [January 4, 2016, 6:14pm UTC](https://discourse.chef.io/t/chefdk-updating-to-newer-ruby/7548/1 "2016-01-04T18:14:54Z")

</div>

Hello all,

I was wondering if there are plans on upgrading the Ruby version that ships with ChefDK in the near future? Ruby 2.3 recently shipped and has a lot of [really nice features](http://nithinbekal.com/posts/ruby-2-3-features/). Some of my favourite are the new indentable HEREDOC via `<<~`, the `dig` method on Hash and Array, and of course the new safe navigation operator `&.`.

When writing custom resources I’d love to use these new features. We also all use ChefDK as our default Ruby, so for non-Chef projects would be nice to have a newer Ruby as well.

Thanks in advance!  
Arthur Maltson

---

<div class="post-metadata">

**Author:** ![coderanger](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/coderanger/32/5_2.png) [@coderanger](https://discourse.chef.io/u/coderanger)\
**Post date:** [January 4, 2016, 6:31pm UTC](https://discourse.chef.io/t/chefdk-updating-to-newer-ruby/7548/2 "2016-01-04T18:31:30Z")

</div>

Traditionally we’ve only changed the Ruby version at Chef major versions due to the risk of breaking changes. That said, 2.x -\> 2.3 should be a lot safer, but I suspect we’ll stick to the usual plan as Chef 13 will be ( ::jazzhands:: ) soon enough.

---

<div class="post-metadata">

**Author:** ![amaltson](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/amaltson/32/724_2.png) [@amaltson](https://discourse.chef.io/u/amaltson)\
**Post date:** [January 5, 2016, 2:01pm UTC](https://discourse.chef.io/t/chefdk-updating-to-newer-ruby/7548/3 "2016-01-05T14:01:04Z")

</div>

> [@coderanger](#):
>
> but I suspect we'll stick to the usual plan as Chef 13 will be ( ::jazzhands:: ) soon enough.

I'm happy to wait for Chef 13, really was just trying to figure out if there's some roadmap to going to Ruby 2.3. Very exciting 🙂
