Skip to content

Print current Ruby version in console greeting

Matthias Käppler requested to merge mk/console-ruby-version into master

What does this MR do?

We currently print version information about GitLab, Postgres and Geo when booting up a Rails console.

However, we do not print any version information about Ruby or Rails itself. I thought it useful to have that.

Before

--------------------------------------------------------------------------------
 GitLab:       13.5.0-pre (0add15d5392) EE
 GitLab Shell: 13.10.0
 PostgreSQL:   11.8
--------------------------------------------------------------------------------
Loading development environment (Rails 6.0.3.3)

After

--------------------------------------------------------------------------------
 Ruby:         ruby 2.7.2p137 (2020-10-01 revision a8323b79eb) [x86_64-linux-gnu]
 GitLab:       13.5.0-pre (728b5f12f42) EE
 GitLab Shell: 13.10.0
 PostgreSQL:   11.8
--------------------------------------------------------------------------------
Loading development environment (Rails 6.0.3.3)

Does this MR meet the acceptance criteria?

Conformity

Edited by Matthias Käppler

Merge request reports