如何删除独立的 Passenger?
我正在构建一台用于开发的新笔记本电脑,并在过去几天安装了以下内容:
Ubuntu 11.04
Apache2
RVM
- < p>rvm 下的 Ruby 1.9.2
rvm 下的 Ruby 1.8.7
Passenger3 at 1.9.2@global
使用 Ruby 1.9.2 的 Apache 乘客模块
Passenger3 at 1.8.7@global
我准备使用 Ruby 为 Passenger 独立设置一些反向代理1.8.7 当我不小心在终端窗口中输入 Passenger start 时,它没有指向 1.8.7@global。
接下来我知道 Passenger 决定安装 Nginx 及其本身,甚至没有“请允许”,现在我在机器上的某个地方安装了一个额外的 Passenger 独立版本,我想摆脱它,但我找不到任何关于如何删除的说明删除这个。
编辑
我在 /home/purvez 下找到了一个 .passenger 目录,
也许这就是我需要删除的目录。请问有人可以证实或否认这一点吗?
I'm building a new laptop for development and had installed the following over the last few days:
Ubuntu 11.04
Apache2
RVM
Ruby 1.9.2 under rvm
Ruby 1.8.7 under rvm
Passenger3 at 1.9.2@global
Passenger module for Apache using Ruby 1.9.2
Passenger3 at 1.8.7@global
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.
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.
Edit
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我在安装到我的系统的用户指南中找到了这一点:
我在 /var/lib/passenger-standalone 上执行了 rm -rf,然后重新启动,现在一切似乎都很好。
I found this in the User Guide that was installed to my system:
I did an rm -rf on /var/lib/passenger-standalone, rebooted, and all seems well now.
我一直在 Mac OS X 10.7.3 上处理同样的问题,
我还发现我的用户主目录下的 ~/.passenger/standalone 目录下有两个目录,其中之一是:
3.0.11-universal- ruby1.8.7-x86_64-macosx-10.7
另一个目录是 Ruby 1.9.3 的乘客独立目录,这是我想要的目录,是从上一次运行中创建的。
我将“3.0.11-universal-ruby1.8.7-x86_64-macosx-10.7”目录移动到一个新名称以测试并查看另一次运行“passenger start”是否会产生相同的结果,结果确实如此。二进制文件再次安装在相同的目录名称下,并且控制台消息在第二次安装期间是相同的。我确实预料到了这一点,但这证实了乘客认为二进制文件没有安装,所以我删除了该目录并继续前进。
我希望这有帮助。
I have been working with the same problem on Mac OS X 10.7.3
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
The other directory was passenger standalone for Ruby 1.9.3 which is the one I wanted and was created from a previous run.
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.
I hope this helps.