Tôi đã cài đặt rbenv và ruby-build, tuy nhiên, tôi vẫn không thể cài đặt Ruby 2.2.0 bằng rbenv.
user@admin:~/.rbenv/plugins/ruby-build$ rbenv install 2.2.0
Usage: ruby-build [-kvp] <definition> <prefix>
ruby-build --definitions
-k/--keep Do not remove source tree after installation
-v/--verbose Verbose mode: print compilation status to stdout
-p/--patch Apply a patch from stdin before building
-4/--ipv4 Resolve names to IPv4 addresses only
-6/--ipv6 Resolve names to IPv6 addresses only
--definitions List all built-in definitions
rbenv install --list thực sự sẽ cung cấp danh sách các phiên bản Ruby có sẵn.
Cũng không có lệnh như vậy --debug vì vậy tôi không thể nhìn vào nó
Cũng thế, type rbenv sẽ trở lại rbenv is hashed thay vì một chức năng. : /