I have frozen my gems in my application at /home/deploy/rails_apps/
my_app/vendor
Do i need to reinstall all frozen gems of my application again in REE
so that apache+passenger can pick it up?
Where does apache look for gems? Wont it look into my vendor directory
where i have frozen gems?
but the gems installed in the vendor directory are from my development
environment.
In my dev env, i dont have REE installed, so those gems were installed
and frozen using the dev ruby compiler.
Shouldn't i install the gems using REE and then freeze them in prod
env?
but the gems installed in the vendor directory are from my development
environment.
In my dev env, i dont have REE installed, so those gems were installed
and frozen using the dev ruby compiler.
So what?
Shouldn't i install the gems using REE and then freeze them in prod
env?
No. There's no need. Ruby is not compiled, so REE and MRI can run from
the same source files.
1. Ruby is not compiled.
2. Need to re-install only those gems which have a native extension.
1 more thing, do i need to set the path variable to point to /opt/ruby-
enterprise-1.8.7-2010.01/bin/ruby instead of /usr/bin/ruby,
so that any operations i do on my application residing at /home/deploy/
rails_apps/my_app the REE is used?