# Why do I have to freeze rails when using Apache

**URL:** <https://www.ruby-forum.com/t/why-do-i-have-to-freeze-rails-when-using-apache/118236>\
**Category:** Rails\
**Created:** [October 25, 2007, 1:40am UTC](https://www.ruby-forum.com/t/why-do-i-have-to-freeze-rails-when-using-apache/118236 "2007-10-25T01:40:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mr\_tibs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/439d5e/32.png) [@mr\_tibs](https://www.ruby-forum.com/u/mr_tibs)\
**Post date:** [October 25, 2007, 1:40am UTC](https://www.ruby-forum.com/t/why-do-i-have-to-freeze-rails-when-using-apache/118236/1 "2007-10-25T01:40:17Z")

</div>

Hi,

I’m just starting using Apache with Rails and the first issue that I  
had to resolve was the following error message:

“Application error. Rails application failed to start properly”  
“Cannot find gem for Rails =1.2.5.0” (etc)

I think I read 1000 posts about this error, and the only thing that  
seemed to be working for me was to freeze rails. Why do I need to do  
that? From all the reading that I’ve been doing on the Internet I  
gather you only have to do this when your web application is hosted on  
a shared server. For now, I’m just learning Apache and I’m running  
both on a local development Linux box.

RAILS\_GEM\_VERSION is 1.2.5 in environment.rb.  
If I run “gem list | grep rails”, I get "rails (1.2.5, 1.2.1). (At  
some point I only had 1.2.1 installed and RAILS\_GEM\_VERSION was also  
1.2.1 and I still had the same problem).  
Webrick works normally.

Another question that I have is why does the error message mention  
version 1.2.5.0? Where is the “.0” coming from? I found this logic in  
boot.rb and I don’t understand why it is there. Older versions of  
Rails did not generate the “.0” at the end of the version.

Thanks,  
Tiberiu

---

<div class="post-metadata">

**Author:** ![mr\_tibs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/439d5e/32.png) [@mr\_tibs](https://www.ruby-forum.com/u/mr_tibs)\
**Post date:** [October 25, 2007, 3:11am UTC](https://www.ruby-forum.com/t/why-do-i-have-to-freeze-rails-when-using-apache/118236/2 "2007-10-25T03:11:23Z")

</div>

Hi Mr Tips

I use Apache 2.26 + Rails 1.25 and did not have the need to freeze  
Rails…
