# Error: rbenv: version \`5.6.17' is not installed

**URL:** <https://discuss.circleci.com/t/error-rbenv-version-5-6-17-is-not-installed/2330>\
**Category:** Bug Reports\
**Created:** [February 25, 2016, 12:18pm UTC](https://discuss.circleci.com/t/error-rbenv-version-5-6-17-is-not-installed/2330 "2016-02-25T12:18:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![8thom](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/8thom/32/893_2.png) [@8thom](https://discuss.circleci.com/u/8thom)\
**Post date:** [February 25, 2016, 12:18pm UTC](https://discuss.circleci.com/t/error-rbenv-version-5-6-17-is-not-installed/2330/1 "2016-02-25T12:18:41Z")

</div>

Hi,

Our builds have started failing with an unusual error that I can’t replicate on any other environment.

There’s been no change to the master branch since the last successful build – [https://circleci.com/gh/thom8/beetbox/tree/master](https://circleci.com/gh/thom8/beetbox/tree/master)

`rbenv: version`5.6.17’ is not installed (set by /opt/circleci/.phpenv/version)`

We are using the beta trusty container and installing PHP 5.6.18-1+deb.sury.org~trusty+1.  
This error seems to trigger as soon as a command that requires php is invoked.

Further info –  
It seems the this also only occurs when invoking PHP without sudo, is there any easy way to disable this version check?

Workaround –  
Removing `/opt/circleci/.phpenv` seems to have fixed this issue. Is this ok? or is there an easier solution?

---

<div class="post-metadata">

**Author:** ![Nebojsaa](https://avatars.discourse-cdn.com/v4/letter/n/e8c25b/32.png) [@Nebojsaa](https://discuss.circleci.com/u/Nebojsaa)\
**Post date:** [May 19, 2017, 12:23pm UTC](https://discuss.circleci.com/t/error-rbenv-version-5-6-17-is-not-installed/2330/2 "2017-05-19T12:23:30Z")

</div>

I have had the exactly same problem. I have solved it just like you. removing /opt/circleci/.phpenv

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:33am UTC](https://discuss.circleci.com/t/error-rbenv-version-5-6-17-is-not-installed/2330/3 "2018-06-18T11:33:59Z")

</div>

Closed on June 18, 2018, 11:33am UTC


