How can I find Phusion Passenger version?
21,338
Solution 1
locate passenger-config
/path/to/passenger-config --version
Or try searching your system's package manager if Passenger was installed from a package
Solution 2
You can use the following command to find out the current version:
passenger -v
Solution 3
try
passenger-config --version
Solution 4
If installed from apt-get, you can't get passenger -v from a command line, however you could get from package manager:
dpkg -l | grep passenger
Which will return something like:
ii libapache2-mod-passenger 3.0.13debian-1 amd64 Rails and Rack support for Apache2
You can than grab the version number from this with your favourite regex command.
Author by
leonel
Updated on May 08, 2020Comments
-
leonel about 4 years
How can I find my Phusion Passenger version? is there a command i can run from the terminal?
-
tadman over 12 yearsYou can find where your passenger command is stored, as it might not be in your path, by doing:
gem contents passenger | grep passenger$
-
x-yuri almost 10 yearsIt says:
cannot load such file -- phusion_passenger
. I installedpassenger
from official repository. -
x-yuri almost 10 yearsIt says:
cannot load such file -- phusion_passenger
. I installedpassenger
from official repository. -
abhijeetps over 4 yearsAdditional note, this command only works in the repository where you have installed passenger if passenger is not globally installed.