新 Rails 安装 - 没有要加载的文件 - phusion_passenger/alalytics_logger
我刚刚在服务器上安装了 Ruby on Rails,但在查看页面时不断收到以下错误。
Error Message:
No such file to load -- phusion_pasenger/analytics_logger
当前安装:
- Ubuntu 10.04 64
- Apache 2
- RVM 1.5.2
- Ruby 1.8.7 EE
- Rails 3.0.5
- Passenger 3
I just installed Ruby on Rails on my server and keep getting the following error when I view the page.
Error Message:
No such file to load -- phusion_pasenger/analytics_logger
Current Installation:
- Ubuntu 10.04 64
- Apache 2
- RVM 1.5.2
- Ruby 1.8.7 EE
- Rails 3.0.5
- Passenger 3
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当我输入有关权限的相同内容时,Mongus Pong 给出了答案。
检查 PassengerUser 和 PassengerUserSwitching 指令以设置适当的用户和权限。 http://www.modrails.com/documentation/Users%20guide%20Apache .html#PassengerUserSwitching
有关这些指令如何运行的更多具体信息:http://www.modrails.com/documentation/Users%20guide%20Apache.html#user_switching
Mongus Pong's answer came in while I was typing the same thing about permissions.
Check into the PassengerUser and PassengerUserSwitching directives to setup the appropriate users and permissions. http://www.modrails.com/documentation/Users%20guide%20Apache.html#PassengerUserSwitching
More specific info here regarding how these directives operate: http://www.modrails.com/documentation/Users%20guide%20Apache.html#user_switching
我相信这是一个权限问题。用户是否有权访问 phusion_pasenger 文件夹?
I believe this is a permissions problem. Does the user have access to the phusion_pasenger folder?