小编Afo*_*rat的帖子

如何将 ruby​​ 版本更新到 2.5.1?

当我尝试通过以下方式打开 metasploit 时

msfconsole
Run Code Online (Sandbox Code Playgroud)

它显示了一个错误

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

我试过

rbenv install rbx-2.5.1
Run Code Online (Sandbox Code Playgroud)

它的显示

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 …
Run Code Online (Sandbox Code Playgroud)

ruby apt compiling software-installation metasploit

6
推荐指数
1
解决办法
5422
查看次数

标签 统计

apt ×1

compiling ×1

metasploit ×1

ruby ×1

software-installation ×1