Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to completely uninstall phusion passenger in Ubuntu 13.10, Apache2 combination?

Tags:

passenger

I installed the Phusion Passenger using the below commands

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 561F9B9CAC40B2F7
sudo apt-get install apt-transport-https ca-certificates

Then, because of some reason, I tried to uninstall Phusion Passenger by the following way, First: I removed the all Phusion Passenger configuration directives Than: gem uninstall passenger

(results: gem "passenger" is not installed)

If I put "passenger -v". It returns

Phusion Passenger version 4.0.37
"Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui.

Still it is not completely removed. I don't know how to proceed further.

I want to completely remove the Phusion Passenger, and install the fresh copy. Please assist me to do this

like image 292
Arun Kumar Kandasamy Avatar asked Mar 06 '14 17:03

Arun Kumar Kandasamy


2 Answers

A friend had the same problem:

  • apt-get remove passenger gave "passenger is not installed"
  • gem uninstall passenger gave "passenger is not installed"
  • passenger -v shows it is installed

The reason is that she had installed passenger with Ruby 1.9.1 and since upgraded to Ruby 2.1.5. (note: rvm was not installed).

The answer is to gem1.9.1 uninstall passenger which prompts if you want to remove the gem and packages or just the gem.

like image 99
captainpete Avatar answered Oct 19 '22 22:10

captainpete


should be able to run:

apt-get purge (I used passenger)

I hope this helps!

like image 42
Arun Kumar Kandasamy Avatar answered Oct 19 '22 21:10

Arun Kumar Kandasamy