Как обновить рубиновую версию к 2.5.1?

Когда я пытался открыть metasploit

msfconsole

Это показало ошибку

rbenv: version `2.5.1' is not installed (set by /opt/metasploit-framework/.ruby-version)

Я попробовал

rbenv install rbx-2.5.1

его показ

BUILD FAILED (Ubuntu 16.04 using ruby-build 20160602-19-g0c35180)

Inspect or clean up the working tree at /tmp/ruby-build.20180421085159.19307
Results logged to /tmp/ruby-build.20180421085159.19307.log

Last 10 log lines:
Updating files in vendor/cache
Bundle complete! 5 Gemfile dependencies, 11 gems now installed.
Bundled gems are installed into `./vendor/bundle`
Checking gcc: found
Checking g++: found
Checking bison:./configure:1430:in ``': No such file or directory - bison (Errno::ENOENT)
    from ./configure:1430:in `check_tool_version'
    from ./configure:722:in `check_tools'
    from ./configure:1815:in `run'
    from ./configure:1995:in `<main>'

Что дальше?

5
задан 20 April 2018 в 20:27

1 ответ

попытайтесь выполнить эту команду:

$ sudo apt-get i
$ sudo apt-get install libbison-dev bison

Затем попробуйте еще раз.

-1
ответ дан 23 November 2019 в 11:32

Другие вопросы по тегам:

Похожие вопросы: