---
title: "CentOS上搭建Rails 生产环境"
author: "pingfeng"
date: "2012-10-06T23:10:21Z"
tags: []
categories: ["操作系统"]
slug: "centos-rails"
draft: false
lastmod: "2012-10-06T23:10:21Z"
id: 1691999
url: "https://pingfeng.iteye.com/blog/1691999"
---

1\. nginx, mongodb

 

都可以用yum安装，yum源都是有nginx, mongodb自已提供的

 

2\. ruby

 

1.9.3后yaml的解析器改成Psych了，所以要先装libyaml

 

参考http://collectiveidea.com/blog/archives/2011/10/31/install-ruby-193-with-libyaml-on-centos/