Multiple Passenger installations

2,687 views
Skip to first unread message

BK

unread,
Sep 30, 2015, 11:07:15 PM9/30/15
to Phusion Passenger Discussions
Hi folks

just getting started with rails and passenger. have stumbled on a noob problem without much precedent via a google search. I'm sure it will crop up again in the future.

I ran:

$ gem install passenger
$ passenger-install-apache2-module
  • I am using Ubuntu 14.04 LTS
  • Apache:
    • Server version: Apache/2.4.7 (Ubuntu)
    • Server built:   Sep  2 2015 13:02:10

I am looking to deploy a ruby on rails application to the current computer which I am working on.

The passenger installation process spits out the following:

Validating installation...

 * Checking whether this Passenger install is in PATH... ✓
 * Checking whether there are no other Passenger installations... (!)

   You are currently validating against Phusion Passenger 5.0.20, located in:
   
     /home/bk/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/passenger-5.0.20/bin/passenger
   
   Besides this Passenger installation, the following other
   Passenger installations have also been detected:
   
     /home/bk/.rbenv/shims/passenger
   
   Please uninstall these other Passenger installations to avoid
   confusion or conflicts.

 * Checking whether Apache is installed... ✓
 * Checking whether the Passenger module is correctly configured in Apache... ✓

Detected 0 error(s), 1 warning(s).


Now my question - simple to you, the learned reader no doubt - is tricky for me.

  • How do I uninstall that particular passenger installation? 

i ran:
  • sudo apt-get passenger remove           as well as
  • the gem uninstall command 
  • but no luck :'(

any ideas? Your assistance is much appreciated.

rgds

BK

Hongli Lai

unread,
Oct 1, 2015, 12:10:17 AM10/1/15
to phusion-passenger
This is a false positive. /home/bk/.rbenv/shims/passenger is a shim
created by rbenv that calls
/home/bk/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/passenger-5.0.20/bin/passenger
after setting some environment variable. We should update our
autodetection code to ignore rbenv shims.

As for uninstalling: that depends on how you installed it. You clearly
installed it via RubyGems, so you need to use RubyGems to uninstall
it. That is, 'gem uninstall passenger'. However since the
autodetection warning is a false positive, you should just ignore it.
> --
> You received this message because you are subscribed to the Google Groups
> "Phusion Passenger Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to phusion-passen...@googlegroups.com.
> To post to this group, send email to phusion-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/phusion-passenger.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/phusion-passenger/59b6a6a9-7ef5-455b-829b-ffa12be29d20%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Phusion B.V. | Web Application deployment, scaling, and monitoring solutions

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 63501007 (The Netherlands)
Reply all
Reply to author
Forward
0 new messages