[英]`-bash: rbenv: command not found` comes up every time I open a terminal window. How do I fix this?
[英]`-bash: rbenv: command not found` comes up every time I open a terminal on window. How do I fix this?
我有這個bash: rbenv: command not found
東西總是出現在我的終端上,每當我打開它時,它們會出現四次,如下所示。
請問我用的是windows,怎么解決? 我研究過的所有解決方案都是針對 MacO 量身定制的。
bash: rbenv: command not found
bash: rbenv: command not found
bash: rbenv: command not found
bash: rbenv: command not found
請問我用的是windows,怎么解決? 我研究過的所有解決方案都是針對 MacO 量身定制的。
錯誤來自bash
,一個 Unix shell。 目前還不清楚它是如何在 Windows 上運行的(也許是 Linux 的 Windows 子系統?),但 MacOS(真正的 Unix)指令應該可以工作。
大概你在某個時候在這個 Unix on Windows 環境中安裝了rbenv ,現在它已經消失了。 如果您想恢復它,請重新安裝它。
如果您希望它消失,請按照卸載說明進行操作。 rbenv
會將一行rbenv init
添加到您的 shell 啟動配置文件中。 在 bash 中,查看主目錄中的.bashrc
和.bash_profile
文件並刪除與rbenv
的任何內容。
如果您不知道如何使用 bash,請參閱Bash 簡介了解更多信息。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.