如何删除乘客独立? [英] How to remove Passenger standalone?

查看:24
本文介绍了如何删除乘客独立?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一台用于开发的新笔记本电脑,并在过去几天中安装了以下内容:

I'm building a new laptop for development and had installed the following over the last few days:

  • Ubuntu 11.04

  • Ubuntu 11.04

Apache2

RVM

rvm 下的 Ruby 1.9.2

Ruby 1.9.2 under rvm

rvm 下的 Ruby 1.8.7

Ruby 1.8.7 under rvm

Passenger3 在 1.9.2@global

Passenger3 at 1.9.2@global

使用 Ruby 1.9.2 的 Apache 乘客模块

Passenger module for Apache using Ruby 1.9.2

Passenger3 在 1.8.7@global

Passenger3 at 1.8.7@global

当我不小心在没有指向 1.8.7@global 的终端窗口中输入了Passenger start 时,我正准备使用Ruby 1.8.7 为Passenger Standalone 设置一些反向代理.

I was about to set up some reverse proxy to Passenger standalone using Ruby 1.8.7 when I accidentally typed in Passenger start in a terminal window which did not point to 1.8.7@global.

接下来我知道Passenger决定安装Nginx和它本身,甚至没有请假",现在我在机器上的某个地方安装了一个额外的Passenger,我想摆脱它,但我找不到任何有关如何删除它的说明.

The next thing I knew Passenger decided to install Nginx and itself without even a 'by your leave' and now I have an extra Passenger standalone installed somewhere on the machine that I want to get rid of but I can't find any instructions on how to remove this.

我在/home/purvez 下找到了一个 .passenger 目录

I have found a .passenger directory under /home/purvez

也许就是我需要摆脱的那个.任何人都可以确认或否认这一点吗?

Maybe it's that one that I need to get rid of. Can anyone confirm or deny this please?

推荐答案

我在 Mac OS X 10.7.3 上遇到了同样的问题

I have been working with the same problem on Mac OS X 10.7.3

我还在我的用户主目录下找到了 ~/.passenger/standalone 目录,里面有两个目录,其中一个是这个:

I also found the ~/.passenger/standalone directory under my users home directory with two directories under that, one of which was this one:

3.0.11-universal-ruby1.8.7-x86_64-macosx-10.7

3.0.11-universal-ruby1.8.7-x86_64-macosx-10.7

另一个目录是 Ruby 1.9.3 的乘客独立目录,这是我想要的目录,并且是在之前的运行中创建的.

The other directory was passenger standalone for Ruby 1.9.3 which is the one I wanted and was created from a previous run.

我将3.0.11-universal-ruby1.8.7-x86_64-macosx-10.7"目录移动到一个新名称以测试并查看另一次运行passenger start"是否会产生相同的结果,结果确实如此.二进制文件再次安装在相同的目录名称下,并且在第二次安装期间控制台消息相同.我确实预料到了这一点,但这证实了乘客认为未安装二进制文件,因此我删除了目录并继续前进.

I moved the "3.0.11-universal-ruby1.8.7-x86_64-macosx-10.7" directory to a new name to test and see if another run of "passenger start" would yield the same result and it did. The binaries were installed again under the same directory name and the console messages were the same during the second install. I did expect this but this confirms that passenger thought the binaries were not installed, so I have removed the directory and moved on.

我希望这会有所帮助.

这篇关于如何删除乘客独立?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆