Freeze_gems not freezing all gems?

Hi,

I am currently experimenting on rake freeze_gems and there is something
I do not understand.

When I freeze_gems my app, it puts Rails in the /vendor/ directory,
which works. But what about all other gems I have installed (for example
Unicode, sqlite support, mysql support and so on)?

The aim of freezing is to be independant of the versions of the ISP, but
it seems that the server still needs to have extra gems installed…
Huh?

Thank you!

Nauhaie wrote:

Hi,

I am currently experimenting on rake freeze_gems and there is something
I do not understand.

When I freeze_gems my app, it puts Rails in the /vendor/ directory,
which works. But what about all other gems I have installed (for example
Unicode, sqlite support, mysql support and so on)?

The aim of freezing is to be independant of the versions of the ISP, but
it seems that the server still needs to have extra gems installed…
Huh?

Thank you!

As far as I know, freeze_gems only deals with the rails gems. You still
remain dependant on all other ruby gems.

Hey Nauhaie, I believe the below link should allow you to achieve your
goal:

http://nubyonrails.com/articles/2005/12/22/freeze-other-gems-to-rails-lib-directory

It would be nice if this step was integrated into ‘rake freez_gems’.
Thus, I have following question:

What commands one must execute to deploy an application to a shared
host?

-Conrad

Ok, I think freeze_other_gems will do the job!

Thank you a lot!