# Is Discourse using Ruby 2.0? Howto use Ruby 2.2

**URL:** <https://meta.discourse.org/t/is-discourse-using-ruby-2-0-howto-use-ruby-2-2/44248>\
**Category:** Self-hosting\
**Created:** [14.Май.2016 18:18:01 UTC](https://meta.discourse.org/t/is-discourse-using-ruby-2-0-howto-use-ruby-2-2/44248 "2016-05-14T18:18:01Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![arrowcircle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arrowcircle/32/100035_2.png) [@arrowcircle](https://meta.discourse.org/u/arrowcircle)\
**Post date:** [15.Май.2016 10:13:34 UTC](https://meta.discourse.org/t/is-discourse-using-ruby-2-0-howto-use-ruby-2-2/44248/8 "2016-05-15T10:13:34Z")

</div>

@sam Thanks for the answer.  
Where should we put this code? I tried to put in in the beginning of my app.yml.  
Then tried to put run section to first place of run yml, but after rebuilding container my app is down.  
There are no errors in log files. Looks like unicorn dont start at all.  
I noticed, that

> use\_22

runs after bundler completes installing gems.  
What I doing wrong?

---

_[View the full topic](https://meta.discourse.org/t/is-discourse-using-ruby-2-0-howto-use-ruby-2-2/44248)._
