我正在运行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
有没有猜到这是怎么回事?
我的配置
:js => false
发布于 2016-12-12 10:49:18
当visit
在页面中标牌时,我连接到的端口是不正确的,而且不知怎么地,它把我连接到了普华客。
感谢托马斯·沃尔波尔在评论中的帮助。
https://stackoverflow.com/questions/41106072
复制