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.

Share:
21,338
leonel
Author by

leonel

Updated on May 08, 2020

Comments

  • leonel
    leonel about 4 years

    How can I find my Phusion Passenger version? is there a command i can run from the terminal?

  • tadman
    tadman over 12 years
    You 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
    x-yuri almost 10 years
    It says: cannot load such file -- phusion_passenger. I installed passenger from official repository.
  • x-yuri
    x-yuri almost 10 years
    It says: cannot load such file -- phusion_passenger. I installed passenger from official repository.
  • abhijeetps
    abhijeetps over 4 years
    Additional note, this command only works in the repository where you have installed passenger if passenger is not globally installed.