phlipper / chef-monit

Chef cookbook for monit package
http://phlippers.net/chef-monit
MIT License
67 stars 69 forks source link

Ruby version file references non-existent version #81

Open sonnysideup opened 9 years ago

sonnysideup commented 9 years ago

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?

rickhull commented 9 years ago

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

sonnysideup commented 9 years ago

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.