February 22, 2009

HOWTO: Install a rails stack with ruby-enterprise and passenger on CentOS

0  comments

Preparations:
Install CentOS with Apache and Mysql.

1. Install ruby enterprise:

2. Create some links:

3. gem install rails -v 2.X.X

Problems:
I’ve got problems with missing Mysql libraries. To fix this:

3.1 Install mysql-devel

3.2 Install mysql-gem

4. Passenger (mod_rails)

4.1 Install Passenger (mod_rails)

4.2 Passenger Apache Module

5. ImageMagick

5.1 Install ImageMagick Libraries

5.2 Install rmagick via gems

Problems:

Parameter –version doesn’t work.
Don’t use the parameter “–version”

Read more about this problem:
http://www.beanlogic.co.uk/2008/8/13/installing-a-specific-verison-of-rmagick

Missing msfonts

Installation of msfonts according to:
http://hi.baidu.com/rainchen/blog/item/089ef7364497de320a55a9a3.html

6. Config of apache and your rails app
For configuration of passenger follow the instructions there

Thats it!


Tags

cent os, howto, Linux, mod-rails, passenger, Projects, rails, Ruby, Ruby on Rails, ruby-enterprise


You may also like

Leave a Reply

Your email address will not be published. Required fields are marked

Information about Data protection

This site uses Akismet to reduce spam. Learn how your comment data is processed.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}