How does passenger_free_ruby work?
I installed phusion passenger using the apt package provided by phusion. My system ruby is ruby2.1 installed using the brightbox apt packages. I would expect /etc/apache2/mods-enabled/passenger.conf to use /usr/bin/ruby as the default value of PassengerDefaultRuby. It uses /usr/bin/passenger_free_ruby.
passenger_free_ruby acts like ruby and it is the expected ruby
/usr/bin/passenger_free_ruby -v
ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-linux-gnu]
If I upgrade ruby to ruby2.2 then passenger_free_ruby runs as the ruby2.2
/usr/bin/passenger_free_ruby -v
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux-gnu]
So what does passenger_free_ruby actually do? What does free mean? Why not just use /usr/bin/ruby as the default ruby?