get Passenger version from command line

2,305 views
Skip to first unread message

kidbrax

unread,
Jan 8, 2010, 8:25:22 PM1/8/10
to Phusion Passenger Discussions
What is the best way to check the Version of Passenger I have
installed? I know I can check the version of the gem but I am trying
to verify that the gem version is the version that is running?

Anuj Dutta

unread,
Jan 9, 2010, 2:34:55 AM1/9/10
to phusion-...@googlegroups.com


2010/1/9 kidbrax <braxto...@gmail.com>
What is the best way to check the Version of Passenger I have
installed?  I know I can check the version of the gem but I am trying
to verify that the gem version is the version that is running?

--
You received this message because you are subscribed to the Google Groups "Phusion Passenger Discussions" group.
To post to this group, send email to phusion-...@googlegroups.com.
To unsubscribe from this group, send email to phusion-passen...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/phusion-passenger?hl=en.




Try this:

passenger-config --version 


Anuj


--
Anuj DUTTA

Daniel Jagszent

unread,
Jan 9, 2010, 4:36:56 AM1/9/10
to phusion-...@googlegroups.com

Try this:

passenger-config --version 

AFAIK, that will get you the gem version. Not necessarily the version that is running.

Passenger writes its version number in the Server and X-Powered-By HTTP headers (at least in the nginx-version). You could fetch a Passenger-enabled URL from you webserver and parse the version string out of the header.


Anuj Dutta

unread,
Jan 9, 2010, 4:48:41 AM1/9/10
to phusion-...@googlegroups.com


2010/1/9 Daniel Jagszent <dan...@jagszent.de>
--
You received this message because you are subscribed to the Google Groups "Phusion Passenger Discussions" group.
To post to this group, send email to phusion-...@googlegroups.com.
To unsubscribe from this group, send email to phusion-passen...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/phusion-passenger?hl=en.


I stand corrected. For nginx, it does have those HTTP Headers. Any apache users wana chime in with their opinion.

Anuj

--
Anuj DUTTA

Jam

unread,
Jan 9, 2010, 2:10:21 PM1/9/10
to Phusion Passenger Discussions
The same is true of Apache-based Passenger website - the X-Powered-By
header indicates the Passenger version used.

James

On Jan 9, 9:48 am, Anuj Dutta <dutta.a...@googlemail.com> wrote:
> 2010/1/9 Daniel Jagszent <dan...@jagszent.de>
>
>
>
>
>
> > Try this:
>
> > passenger-config --version
>
> > AFAIK, that will get you the gem version. Not necessarily the version that
> > is running.
>
> > Passenger writes its version number in the Server and X-Powered-By HTTP
> > headers (at least in the nginx-version). You could fetch a Passenger-enabled
> > URL from you webserver and parse the version string out of the header.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Phusion Passenger Discussions" group.
> > To post to this group, send email to phusion-...@googlegroups.com.
> > To unsubscribe from this group, send email to

> > phusion-passen...@googlegroups.com<phusion-passenger%2Bunsu...@googlegroups.com>

Reply all
Reply to author
Forward
0 new messages