I have just tried to switch to Ruby Enterprise Edition, as described here: http://www.rubyenterpriseedition.com/download.html (case: Ubuntu).
REE promises about 30% memory savings, but in my case, I still have 3 ruby instances around 100MB each - just like before (and I think this is way too much for an almost idle server...).
So I suspect the "old" ruby is still being used, but I'm not sure. What I've changed in the Apache config file, after the REE installation (following Passenger's instructions) are some paths:
PREVIOUSLY:
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/ext/apache2/mod_passenger.so
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4
PassengerRuby /usr/bin/ruby1.8
NEW, with REE:
LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14
PassengerRuby /usr/local/bin/ruby
Do I need to do anything else (modify some other paths, for example)? If so, what and how?
Thank you for your help!
Tom