如何安装Ruby

In this tutorial we will learn how to install Ruby on our local system. We will be covering the installation steps for the following two operating systems:

在本教程中,我们将学习如何在本地系统上安装Ruby。 我们将介绍以下两个操作系统的安装步骤:

  1. Installation on Windows

    在Windows上安装

  2. Installation on Mac

    在Mac上安装

Ruby:在Windows上安装 (Ruby: Installation on Windows)

To download ruby, go to http://rubyinstaller.org/downloads

要下载Ruby,请访问http://rubyinstaller.org/downloads

Installing ruby

Download the latest version of Ruby. The one which is in the top most is the latest. You can download either Installers or Archive file. But it is good to download the Installer.

下载最新版本的Ruby。 最靠前的是最新的。 您可以下载安装程序或存档文件。 但是最好下载安装程序。

For 64 bit operating systems, download installer that end with (x64). After downloading the exe file, double click to open the file.

对于64位操作系统,请下载以(x64)结尾的安装程序。 下载exe文件后,双击以打开文件。

Choose the Language.

选择语言

Installing ruby

Click "I accept the License".

单击“我接受许可证”

Installing ruby

Browse and select the desired installation path you want. But it is recommended to install on the default directory. And Check the 3 options below :

浏览并选择所需的所需安装路径。 但是建议安装在默认目录上。 并检查以下3个选项:

  • Install Td/k support

    安装Td / k支持

  • Add Ruby executables to your PATH

    将Ruby可执行文件添加到PATH

  • Associate .rb and .rbw files with Ruby installation

    .rb.rbw文件与Ruby安装相关联

And click Install.

然后点击安装

Installing ruby

You will see the installation progress bar. Once it is complete, click Finish.

您将看到安装进度栏。 完成后,单击“完成”。

Installing ruby

Ruby:在Mac上安装 (Ruby: Installation on Mac)

Ruby is pre-installed on Macintosh. So don't need to go through installation procedures.

Ruby已预先安装在Macintosh上。 因此,无需执行安装过程。

翻译自: https://www.studytonight.com/ruby/installing-ruby

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值