passenger-status Command Not Found

558 views
Skip to first unread message

LightBe Corp

unread,
Aug 13, 2012, 11:59:16 AM8/13/12
to phusion-...@googlegroups.com
I am using Ruby Version Manager (RVM).  Instead of using the .rvmrc file I'm using echo 1.9.3@my-app-name > .ruby-version.  My Ruby on Rails application is working well using Passenger 3.0.13.  I just cannot access the commands like passenger-status.

Here is my question.  Do I need REE installed to access these commands?

Any help would be appreciated.

Hongli Lai

unread,
Aug 13, 2012, 1:02:34 PM8/13/12
to phusion-...@googlegroups.com
No. You just need to ensure passenger-status is in $PATH. It is
located in the RubyGems bin directory which RVM should put in $PATH by
default.

--
Phusion | Ruby & Rails deployment, scaling and tuning solutions

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

LightBe Corp

unread,
Oct 4, 2012, 12:27:29 PM10/4/12
to phusion-...@googlegroups.com
I have not had a chance to review this reply until now.  It sounds like you are saying that what I did should give me access to commands like passenger-status.  It did not.  Maybe it is how you are phrasing your response.  You stated that it should be there by default.  It does not work.

Tinco Andringa

unread,
Oct 4, 2012, 7:43:57 PM10/4/12
to phusion-...@googlegroups.com
What he means is that if you have the passenger gem installed, the
passenger-status binary is installed in an rvm directory. If your rvm
is configured correctly you should just be able to run it, but since
you seem not to perhaps something is wrong with your rvm installation.
> --
> You received this message because you are subscribed to the Google Groups
> "Phusion Passenger Discussions" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/phusion-passenger/-/8M_XE3oeZWUJ.
>
> 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.

LightBe Corp

unread,
Nov 7, 2012, 6:30:28 PM11/7/12
to phusion-...@googlegroups.com, ti...@phusion.nl
Tinco,

Sorry I'm just getting back to this.

I have the following in my .bashrc file which I source regularly:

[[ -s "/Users/server1/.rvm/scripts/rvm" ]] && source "/Users/server1/.rvm/scripts/rvm"  # This loads RVM into a shell session.
PATH="$PATH:$HOME/.rvm/bin:/usr/bin/psql:/usr/local:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"

I can go directly into the .rvm directory /Users/server1/.rvm and access it though rvmsudo passenger-status

I'm still learning some things with Unix, Ruby on Rails and Passenger:)  It is not obvious to me what could be wrong.
Reply all
Reply to author
Forward
0 new messages