chef-monit icon indicating copy to clipboard operation
chef-monit copied to clipboard

Ruby version file references non-existent version

Open sonnysideup opened this issue 10 years ago • 2 comments

The .ruby-version file specifies version 2.2 but, according to rbenv, there is no version by that name available.

-> rbenv install 2.2
ruby-build: definition not found: 2.2

The following versions contain `2.2' in the name:
  2.2.0-dev
  2.2.0-preview1
  2.2.0-preview2
  2.2.0-rc1
  2.2.0
  2.2.1
  2.2.2
  rbx-2.2.0
  rbx-2.2.1
  rbx-2.2.2
  rbx-2.2.3
  rbx-2.2.4
  rbx-2.2.5
  rbx-2.2.6
  rbx-2.2.7
  rbx-2.2.9
  rbx-2.2.10

See all available versions with `rbenv install --list'.

Should this not be changed to 2.2.0?

sonnysideup avatar Aug 10 '15 21:08 sonnysideup

note, many ruby versioning projects support a .ruby_version file, but they may support different semantics. chruby might look at 2.2 and find the latest 2.2.x for you

rickhull avatar Aug 12 '15 04:08 rickhull

Hmm, I guess the question is which ruby versioning tool is being used and is there a "universal" format that each tool will accept?

This small change could easily lower the impedance for would-be contributors not using, say, chruby.

sonnysideup avatar Aug 12 '15 15:08 sonnysideup