ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-dev:51175] 3.2.0 Preview 1のconfigureが算出する変数ruby_versionの値について
@ 2022-04-04  9:26 Yasuhiro Kimura
  0 siblings, 0 replies; only message in thread
From: Yasuhiro Kimura @ 2022-04-04  9:26 UTC (permalink / raw)
  To: ruby-dev

木村です。

3.2.0 Preview 1がリリースされたので早速インストールしてみたのですが、
細かいところで一つ気になった点があるので質問させてください。

3.2.0 Preview 1のconfigureが算出する変数ruby_versionの値に関してなので
すが、configureを引数無しで実行した場合は'3.2.0+1'となり、また引数とし
て'--with-ruby-version=minor'を指定した場合には'3.2+1'となり、いずれの
場合も値の最後に'+1'が付きます。これは意図された通りの振る舞いなのでしょ
うか。

インストール後に/usr/local/lib/rubyの下を見たところ、configureの変数で
いうところのrubylibdirが/usr/local/lib/ruby/3.2.0ではなく
/usr/local/lib/ruby/3.2.0+1になっているのに気付いて、何故こうなってい
るのかを調べたところ、変数ruby_versionの値が大本の原因だということが判っ
たので質問した次第です。

よろしくご回答願います。

---
木村 康浩

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-04  9:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-04  9:26 [ruby-dev:51175] 3.2.0 Preview 1のconfigureが算出する変数ruby_versionの値について Yasuhiro Kimura

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).