How can I find Phusion Passenger version?
Asked Answered
H

4

36

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

Howerton answered 17/11, 2011 at 21:50 Comment(0)
S
25
locate passenger-config
/path/to/passenger-config --version

Or try searching your system's package manager if Passenger was installed from a package

Sangria answered 8/5, 2012 at 19:49 Comment(1)
It says: cannot load such file -- phusion_passenger. I installed passenger from official repository.Stokeontrent
S
49

You can use the following command to find out the current version:

passenger -v
Schnauzer answered 17/11, 2011 at 21:52 Comment(3)
You can find where your passenger command is stored, as it might not be in your path, by doing: gem contents passenger | grep passenger$Deflected
It says: cannot load such file -- phusion_passenger. I installed passenger from official repository.Stokeontrent
Additional note, this command only works in the repository where you have installed passenger if passenger is not globally installed.Peninsula
S
25
locate passenger-config
/path/to/passenger-config --version

Or try searching your system's package manager if Passenger was installed from a package

Sangria answered 8/5, 2012 at 19:49 Comment(1)
It says: cannot load such file -- phusion_passenger. I installed passenger from official repository.Stokeontrent
S
16

try

passenger-config --version
Stewardson answered 6/6, 2012 at 17:22 Comment(0)
C
9

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.

Coahuila answered 7/5, 2015 at 10:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.