Rails:freeze:gems breaks rails/info/properties

For some reason, running rake rails:freeze:gems breaks the default info
page at rails/info/properties.

rake unfreeze_rails fixes the problem.

Any ideas what causes this?

(I am considering freezing my app before I deploy, and now I am worried
it might break other things…)

Desert P. wrote:

For some reason, running rake rails:freeze:gems breaks the default info
page at rails/info/properties.

rake unfreeze_rails fixes the problem.

What is it that breaks? Do you have an error from your log? And which
version of rails are you freezing?

Chris K.
http://kampers.net

Desert P. wrote:

For some reason, running rake rails:freeze:gems breaks the default info
page at rails/info/properties.

rake unfreeze_rails fixes the problem.

Oh, and one other thing. The persistent gotcha with
rails/info#properties is that it’s only available for local requests.

Chris K.
http://kampers.net

Chris K. wrote:

Desert P. wrote:

For some reason, running rake rails:freeze:gems breaks the default info
page at rails/info/properties.

rake unfreeze_rails fixes the problem.

Oh, and one other thing. The persistent gotcha with
rails/info#properties is that it’s only available for local requests.

Chris K.
http://kampers.net

It breaks using 1.2.3
Freezing to the gems for Rails 1.2.3
Unpacked gem: ‘activesupport-1.4.2’
Unpacked gem: ‘activerecord-1.15.3’
Unpacked gem: ‘actionpack-1.13.3’
Unpacked gem: ‘actionmailer-1.3.3’
Unpacked gem: ‘actionwebservice-1.2.3’
Unpacked gem: ‘rails-1.2.3’

I am browsing locally.

Before freeze, it works.
Immediately after freeze, it just hangs.
No error in the logs.
No bad route message.
Nothing.
Just hangs forever.
Unfreeze and everything works again.

I am going to try it on an ec2 instance to see if I can replicate it.
(Right now I am on Mac OS x)