centos6下ruby环境配置的搭建--self _Ruby_编程开发_程序员俱乐部

中国优秀的程序员网站程序员频道CXYCLUB技术地图
热搜:
更多>>
 
您所在的位置: 程序员俱乐部 > 编程开发 > Ruby > centos6下ruby环境配置的搭建--self

centos6下ruby环境配置的搭建--self

 2011/12/29 17:29:11  fireDragonpzy  http://firedragonpzy.iteye.com  我要评论(0)
  • 摘要:一:安装依赖包yum-yinstallgccyuminstallflexautoconfzlibcurlzlib-develcurl-develbzip2bzip2-develncurses-devellibjpeg-devellibpng-devellibtiff-develfreetype-develpam-develgcc+gcc-c++libxml2libxml2-devellibxsltlibxslt-devel二:安装rvmhttps://rvm.beginrescueend
  • 标签:Ruby 配置 CentOS
一:安装依赖包

     yum -y install gcc

     yum install flex autoconf zlib curl zlib-devel curl-devel bzip2 bzip2-devel ncurses-devel libjpeg-devel libpng-devel libtiff-devel freetype-    devel pam-devel

    gcc+ gcc-c++ libxml2 libxml2-devel libxslt libxslt-devel

二:安装rvm
       https://rvm.beginrescueend.com/rvm/install/
       Multi-User installations --

   sudo bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/   binscripts/rvm-installer )

三:安装ruby   rvm install 1.9.2   rvm use ruby-1.9.2 --default

四:安装rails   gem install rails -v 3.0.0
发表评论
用户名: 匿名