首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Phusion乘客在一个不使用Phusion乘客的项目中提出了一个错误

Phusion乘客在一个不使用Phusion乘客的项目中提出了一个错误
EN

Stack Overflow用户
提问于 2016-12-12 17:15:49
回答 1查看 308关注 0票数 0

我正在运行RSpec集成测试,在我的rails项目上启用了JavaScript,并且在使用capybara方法visit转到我的签名页面后收到了以下错误:

We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly. Information for the administrator of this website: The Phusion Passenger application server encountered an error while starting your web application. Because you are running this web application in staging or production mode, the details of the error have been omitted from this web page for security reasons. Please read https://www.phusionpassenger.com/library/admin/log_file/ to find the details of the error.

(请注意,前面的错误消息是在运行print page.body后出现在页面的HTML中的信息,但为了便于阅读,我删除了HTML标记)

最奇怪的是,我们没有在我们的项目中使用Phusion乘客(这已与项目负责人确认)。因此,在Gemfile中不存在客运创业板,运行passenger stop返回:passenger: command not found

有没有猜到这是怎么回事?

我的配置

  • 使用水原和水豚WebKit
  • 我使用capybara的其他RSpec测试很好,当:js => false
EN

回答 1

Stack Overflow用户

发布于 2016-12-12 18:49:18

visit在页面中标牌时,我连接到的端口是不正确的,而且不知怎么地,它把我连接到了普华客。

感谢托马斯·沃尔波尔在评论中的帮助。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/41106072

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档