在我看来,上次我协助某人安装 RVM 时,Wayne 对其进行了更改,以便安装自动将正确的行添加到 .bashrc 文件中。我对 Linux Mint 不太熟悉,但知道有时也可以将其视为 .bash_profile,或简称为 .profile。我的另一个建议,也是安装 RVM 时让我非常心痛的一点是,记得在安装 RVM 后重新启动终端会话。当然,最简单的方法是简单地关闭终端会话并启动一个新的会话,或者如果您知道 shell 配置文件,请在打开的终端中简单地使用 ~/.bashrc 。
It's seems to me the last time I assisted someone with an RVM install, Wayne changed it so that the install automatically added the proper lines to the .bashrc file. I am not that familiar with Linux Mint, but know that you can sometimes also see it as .bash_profile, or simply .profile. Another recommendation from me, and something that has caused me a lot of heartache when installing RVM is remembering to restart the terminal session after installing RVM. The easiest way of course is to simply close your terminal session and start a new one, or if you know your shell configuration profile, simple source ~/.bashrc in your open terminal.
Please be sure to follow the directions listed on https://rvm.beginrescueend.com/rvm/install/ as they detail the exact set of steps needed for both Per-User and Multi-User installation types. They work for 1.6.x and up exactly as detailed, and were tested up to and including against 1.8.5 which is the current release.
发布评论
评论(2)
在我看来,上次我协助某人安装 RVM 时,Wayne 对其进行了更改,以便安装自动将正确的行添加到 .bashrc 文件中。我对 Linux Mint 不太熟悉,但知道有时也可以将其视为 .bash_profile,或简称为 .profile。我的另一个建议,也是安装 RVM 时让我非常心痛的一点是,记得在安装 RVM 后重新启动终端会话。当然,最简单的方法是简单地关闭终端会话并启动一个新的会话,或者如果您知道 shell 配置文件,请在打开的终端中简单地使用 ~/.bashrc 。
It's seems to me the last time I assisted someone with an RVM install, Wayne changed it so that the install automatically added the proper lines to the .bashrc file. I am not that familiar with Linux Mint, but know that you can sometimes also see it as .bash_profile, or simply .profile. Another recommendation from me, and something that has caused me a lot of heartache when installing RVM is remembering to restart the terminal session after installing RVM. The easiest way of course is to simply close your terminal session and start a new one, or if you know your shell configuration profile, simple source ~/.bashrc in your open terminal.
请务必遵循 https://rvm.beginrescueend.com/rvm/install/< 上列出的说明/a> 因为它们详细说明了每用户和多用户安装类型所需的确切步骤集。它们适用于 1.6.x 及更高版本,并且与当前版本的 1.8.5 一样进行了测试。
Please be sure to follow the directions listed on https://rvm.beginrescueend.com/rvm/install/ as they detail the exact set of steps needed for both Per-User and Multi-User installation types. They work for 1.6.x and up exactly as detailed, and were tested up to and including against 1.8.5 which is the current release.