# Can i use 2 version of rails with mod\_fcgid

**URL:** <https://www.ruby-forum.com/t/can-i-use-2-version-of-rails-with-mod-fcgid/103084>\
**Category:** Rails\
**Created:** [May 1, 2007, 5:31pm UTC](https://www.ruby-forum.com/t/can-i-use-2-version-of-rails-with-mod-fcgid/103084 "2007-05-01T17:31:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![revolution](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/7993a0/32.png) [@revolution](https://www.ruby-forum.com/u/revolution)\
**Post date:** [May 1, 2007, 5:31pm UTC](https://www.ruby-forum.com/t/can-i-use-2-version-of-rails-with-mod-fcgid/103084/1 "2007-05-01T17:31:19Z")

</div>

I installed rails version 1.1.6 and 1.2.2  
1.1.6 work fine but  
1.2.2 is error, RoutingError

I use debian sarge, ruby-1.8.4, apache2, mod\_fcgid

any suggestion please, T\_T

---

<div class="post-metadata">

**Author:** ![revolution](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/7993a0/32.png) [@revolution](https://www.ruby-forum.com/u/revolution)\
**Post date:** [May 1, 2007, 6:36pm UTC](https://www.ruby-forum.com/t/can-i-use-2-version-of-rails-with-mod-fcgid/103084/2 "2007-05-01T18:36:25Z")

</div>

revolution wrote:

> I installed rails version 1.1.6 and 1.2.2  
> 1.1.6 work fine but  
> 1.2.2 is error, RoutingError
> 
> I use debian sarge, ruby-1.8.4, apache2, mod\_fcgid
> 
> any suggestion please, T\_T

Freeze the version of rails you want (rake rails:freeze:gems). This will  
make your rails app use the copy of rails in vendor/rails instead of the  
gem(s) you have installed. Alternatively you can set RAILS\_GEM\_VERSION  
in environment.rb to make rails use a specific version of the rails gem.

Fred
