文件名称:centOS Rails3环境搭建
文件大小:4KB
文件格式:TXT
更新时间:2015-09-22 16:51:28
Rails3 linux
1 准备工作 install nodejs # yum install httpd \httpd-devel \openssl-devel \zlib-devel \mysql-server \mysql-devel \gcc \gcc-c++ \curl-devel\libyaml 2 Ruby 1.9.2, RubyGems # cd ~/source/ # wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p174.tar.gz -C ~/source/ # tar xvzf ~/source/ruby-1.8.7-p174.tar.gz -C ../build/ # cd ../build/ruby-1.8.7-p174 # ./configure && make && make install # ruby -v ruby 1.9.2 3 rails # gem install rails -v=2.3.11 4 passenger # gem install passenger passenger-install-apache2-module 安装完成后按照提示将下面的内容添加到etc/httpd/httpd.conf LoadModule pa