Backport #4749
closedincorrect "TEENY" version number?
Description
=begin
New to ruby, but this seems off to me.
Shouldn't line 5 in version.h be
(({#define RUBY_VERSION_TEENY 2})) ?
First 5 lines of ruby-1.9.2-p180/version.h:
(({#define RUBY_VERSION "1.9.2"}))
(({#define RUBY_PATCHLEVEL 180}))
(({#define RUBY_VERSION_MAJOR 1}))
(({#define RUBY_VERSION_MINOR 9}))
(({#define RUBY_VERSION_TEENY 1}))
So, running (({./configure})) results in this line in Makefile:
ruby_version = 1.9.1
And stuff gets installed in (({/usr/local/lib/ruby/1.9.1}))
This works:
(({./configure --with-ruby-version=1.9.2}))
But shouldn't this be the default behavior?
As I said, I'm a nubie to ruby, so apologies if I'm missing something.
=end
Updated by yolabingo (Todd J) almost 13 years ago
apologies - meant to submit this to 1.9.2
Updated by nobu (Nobuyoshi Nakada) almost 13 years ago
- Status changed from Open to Rejected
Updated by nobu (Nobuyoshi Nakada) almost 13 years ago
Now RUBY_VERSION_{MAJOR,MINOR,TEENY} represent the API version number, not the program version number, since 1.9.2 (this is the program version number, not the API version number).
Some distributions seem to have been confused by this change, but these two are different things.