代码改变世界

ruby安装

2016-02-26 22:46  youxin  阅读(311)  评论(0编辑  收藏  举报

Linux安装:

apt-get install ruby

看官方推荐的:

http://www.ruby-lang.org/en/documentation/installation/#apt

Debian GNU/Linux and Ubuntu use the apt package manager. You can use it like this:

$ sudo apt-get install ruby-full

As of writing, the ruby-full package provides Ruby 1.9.3, which is an old stable release, on Debian and Ubuntu.

用ruby-full安装会安装rubygems,

  1. prompt$ which gem