Ruby

1. 修改 yum server ,指到国内Linuxsir的 server

vi /etc/yum.repos.d/fedora.repo
baseurl 改成
baseurl=ftp://ftp.fedora.cn/pub/fedora-cn/linux/7/i386/RPMS/

修改freshrpms的yum repo文件(如/etc/yum.repos.d/freshrpms.repo)

2. 安裝gcc complier
输入gcc ,看你有没有装好 gcc compiler ,如果没有,如下

yum install gcc*

3. 安装 MySQL

yum install mysql-server

开始安装
1. 安装 Ruby 以及 Ruby 的 MySQL Driver

yum install ruby ruby-libs ruby-devel ruby-rdoc ruby-mysql ruby-irb

2. 安装 Ruby Gems
yum install rubygems
3. 安装 Rails

gem i rails -y

4. 安装 Mongrel

gem i mongrel

2 responses to “Ruby

  1. Hi,
    You are the winner of the Premium News Theme, i tired to contact you but you do not have a contact form.

    Please contact me soon.

    http://wpthemesplugin.com/winners-of-the-premium-news-theme/

  2. Hahaha,thanks Moses and Adii!!!!

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Recent Comments