Re: create release of cf-release failes due to ruby version error

Daniel Jones

Hi Neil,

I may be misunderstanding the nature of the problem, but could you use
chruby <> instead of rbenv? Its support
for .ruby_version is optional.

Daniel Jones - CTO
+44 (0)79 8000 9153
@DanielJonesEB <>
*EngineerBetter* Ltd <> - UK Cloud Foundry

On Tue, Aug 16, 2016 at 3:15 PM, Neil Watson <neil(a)> wrote:

The cf-release repo returns an error about the ruby version being wrong,
but it's not really wrong. Worse, I can't change cf-release/.ruby_version
because later in the release creation process it runs a git command and git
errors out because of untracked changes. How do I get beyond this ruby
version error?

[root(a)np-cloud-found01 cf-release]# !bosh
bosh create release
rbenv: version `2.3' is not installed (set by /root/cf-release/.ruby-
root(a)np-cloud-found01 cf-release]# cd ../
[root(a)np-cloud-found01 ~]# ruby --version
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]

Join to automatically receive all group messages.