Date
May. 20th, 2024
 
2024年 4月 13日

Post: Ruby Primer 002: Environment

Ruby Primer 002: Environment

Published 12:02 Feb 28, 2013.

Created by @ezra. Categorized in #Programming, and tagged as #Ruby.

Source format: Markdown

Table of Content

了解过 Ruby 的基本情况后,本篇开始正式学习 Ruby,在语法学习之前,首先我们需要对 Ruby 的运行环境进行安装配置。

Mac OS X

由于现在的 Mac OS X 中已经内置了 Ruby,因此我们不需要做任何安装操作,并且可以直接使用 ruby -v 指令在终端中查看 Ruby 版本。

CentOS

我们可以使用终端指令 yum install -y ruby 来安装 Ruby。

Ubuntu

我们可以使用终端指令 sudo apt-get install ruby 来安装 Ruby。

Windows

这里我推荐一个最简单的方式,就是通过 RubyInstaller 进行下载安装,安装过程十分简单,需要注意的是要勾选 Add Ruby executable to your PATH 选项。

Pinned Message
HOTODOGO
I'm looking for a SOFTWARE PROJECT DIRECTOR / SOFTWARE R&D DIRECTOR position in a fresh and dynamic company. I would like to gain the right experience and extend my skills while working in great teams and big projects.
Feel free to contact me.
For more information, please view online résumé or download PDF
本人正在寻求任职 软件项目经理 / 软件技术经理 岗位的机会, 希望加⼊某个新鲜⽽充满活⼒的公司。
如有意向请随时 与我联系
更多信息请 查阅在线简历下载 PDF