---
title: "ROR linux 上安装要注意的问题！！"
author: "aroundworld2008"
date: "2007-07-26T17:15:05Z"
tags: ["Debian", "Linux", "RedHat", "Ruby", "rubygems"]
slug: "ror-linux"
draft: false
lastmod: "2007-07-26T17:15:05Z"
id: 105813
url: "https://aroundworld2008.iteye.com/blog/105813"
---

整了一个下午，在linux 安装ror环境时，特别要注意zlib ,zlib-devel包，和ruby-zlib这两个包是否已安装，建议安装完ruby之后，还没有安rubygems 之前就要把这两个包安装好！！安装时要注意zlib包 在前，ruby-zlib在后！

zlib包安装方法：一般的linux源码安装一样！

ruby-zlib包安装 tar zxvf 之后，进入目录，

#ruby extconf.rb  
checking for deflateReset() in -lz... yes  
checking for zlib.h... yes  
checking for kind of operating system... Unix  
creating Makefile  
#make  
#make install

即安装完成！随即安装rubygems ！！

 

redhatAS4下要注意 

openssl\_devel包要安装，

以及 openssl扩展的编译！