在Ubuntu 12.04 上配置Ruby的开发环境:1 ) 安装基本依赖包sudo apt-get install git curl build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev autoconf libc6-dev libncurses5-dev automake libtool bison subversion2)配置Gitgit config --global user.name YourName
git config --global user.email Your email3)安装RVMbash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )4)配置vi .bashrc结尾加上[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"然后reload bashrcsource .bashrc5)安装Rubyrvm pkg install zlib
rvm install 1.9.3
rvm use 1.9.3
gem install railsKVM 虚拟机 Windows 磁盘I/O配置RHEL6 双网卡bonding配置相关资讯 Ruby Ubuntu 12.04 Ruby教程
- 如何在Mac OS X上安装 Ruby运行环 (02月13日)
- Ruby 2.2.4/2.1.8 发布下载 (12/19/2015 10:26:57)
- 使用Ruby搭建简易的HTTP服务和sass (09/25/2015 08:44:03)
| - Ruby 2.3.0 正式发布 (12/26/2015 10:59:28)
- Ruby 2.3.0-preview1 发布下载,新 (11/13/2015 19:48:43)
- Ruby "dl/handle.c"安全限制绕过漏 (08/21/2015 13:45:20)
|
本文评论 查看全部评论 (0)