gpt4 book ai didi

ruby - stty : stdin isn't a terminal?

转载 作者:数据小太阳 更新时间:2023-10-29 07:56:14 24 4
gpt4 key购买 nike

我正在尝试使用我在网上找到的说明为 OS X 10.8.5 安装 Homebrew。我这样做是为了更新我的 Ruby 版本,因为我收到了这个错误:

Use RbConfig instead of obsolete and deprecated Config.

当我尝试运行时:

gem install sqlite3

但是,当我运行时:

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

我收到另一个错误:

stty: stdin isn't a terminal
Failed during: /bin/stty raw -echo
stty: stdin isn't a terminal
Failed during: /bin/stty -raw echo

有什么想法吗?

最佳答案

我在为Mac OSX 10.9.1安装homebrew时遇到了和你一模一样的情况。我发现通过在终端中输入以下内容:

curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install | ruby

它对我有用。在自制问题板上有一个关于这个问题的线程。

https://github.com/Homebrew/homebrew/issues/19276

关于ruby - stty : stdin isn't a terminal?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20087585/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com