Ubuntu安装最新Ruby On Rails

1、更新apt-get源

# sudo apt-get install Python-software-properties
# sudo apt-add-repository ppa:brightbox/ruby-ng
# sudo apt-get update

2、安装ruby-dev

sudo apt-get install ruby2.3-dev

3、安装ruby

sudo apt-get install ruby2.3

4、安装rails

sudo gem install rails

5、/usr/local/bin/rails -v

Rails 5.0.1

相关文章

文章浏览阅读2.3k次,点赞4次,收藏22次。最近安装了CARLA预...
文章浏览阅读6.3k次,点赞5次,收藏15次。在清华镜像中下载U...
文章浏览阅读5k次。linux环境, python3.7.问题描述: 安装...
文章浏览阅读4.2k次,点赞4次,收藏17次。要安装这个 standa...
文章浏览阅读894次,点赞51次,收藏31次。在安卓使用vscode主...