-
Notifications
You must be signed in to change notification settings - Fork 797
Closed
Description
I originally raised this with asdf (asdf-vm/asdf-ruby#161), which uses ruby-build, but I can reproduce the issue without involving asdf so I'm raising it here instead.
I'm trying to install ruby 2.7.1 on Ubuntu 14.04 (legacy apps :-( ), but the Ruby that gets installed seems to be 2.7.0.
What I did:
$ git clone https://github.com/rbenv/ruby-build.git
Cloning into 'ruby-build'...
remote: Enumerating objects: 86, done.
remote: Counting objects: 100% (86/86), done.
remote: Compressing objects: 100% (71/71), done.
remote: Total 10763 (delta 57), reused 25 (delta 11), pack-reused 10677
Receiving objects: 100% (10763/10763), 2.26 MiB | 1.04 MiB/s, done.
Resolving deltas: 100% (7084/7084), done.
$ sudo PREFIX=/usr/local ./ruby-build/install.sh
[sudo] password for <my name>:
$ LC_ALL=C ruby-build 2.7.1 ~/bin/ruby/ruby-2.7.1
Downloading ruby-2.7.1.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.1.tar.bz2
Installing ruby-2.7.1...
ruby-build: using readline from homebrew
Installed ruby-2.7.1 to /home/<my name>/bin/ruby/ruby-2.7.1
$ /home/<my name>/bin/ruby/ruby-2.7.1/bin/ruby --version
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux]
What I expected:
A Ruby 2.7.1 version string, like ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]
Metadata
Metadata
Assignees
Labels
No labels