我刚刚开始学习红宝石,
brew install rbenv
和brew install ruby-build
。
但是一些如何构建ruby根本不起作用!
当我开始列出rbenv install -l
时
永远滚动:
-x Extra debugging output
Unknown option: 1
Usage: head [-options] <url>...
-m <method> use method for the request (default is 'HEAD')
-f make request even if head believes method is illegal
-b <base> Use the specified URL as base
-t <timeout> Set timeout value
-i <time> Set the If-Modified-Since header on the request
-c <conttype> use this content-type for POST, PUT, CHECKIN
-a Use text mode for content I/O
-p <proxyurl> use this as a proxy
-P don't load proxy settings from environment
-H <header> send this HTTP header (you can specify several)
-u Display method and URL before any response
-U Display request headers (implies -u)
-s Display response status code
-S Display response status chain
-e Display response headers
-d Do not display content
-o <format> Process HTML content in various ways
-v Show program version
-h Print this message
-x Extra debugging output
永远。我必须使用ruby 2.4以上!
rbenv install 2.4.1
当然不起作用,同样的错误。
没有升级红宝石生成的反应。 我该怎么办?我不知道该死。
请帮助我!