Rails 3-应用程序错误,Rails应用程序无法正常启动

问题描述

| 我想向您寻求有关此错误的帮助。我尝试搜索解决方案,但不幸的是,仍然没有成功。 我的目录具有正确的权限。 dispatch.fcgi
#!/usr/bin/ruby1.8

#!/usr/local/bin/ruby

# You may specify the path to the FastCGI crash log (a log of unhandled
# exceptions which forced the FastCGI instance to exit,great for debugging)
# and the number of requests to process before running garbage collection.
#
# By default,the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
# and the GC period is nil (turned off).  A reasonable number of requests
# could range from 10-100 depending on the memory footprint of your app.
#
# Example:
#   # Default log path,normal GC behavior.
#   RailsFCGIHandler.process!
#
#   # Default log path,50 requests between GC.
#   RailsFCGIHandler.process! nil,50
#
#   # Custom log path,normal GC behavior.
   RailsFCGIHandler.process! \'/log/myapp_fcgi_crash.log\'
#
require File.dirname(__FILE__) + \"/../config/environment\"
require \'fcgi_handler\'

RailsFCGIHandler.process!
但是在dir /log/myapp_fcgi_crash.log中是空日志(在此目录中我也有development.log和production.log)。 我试图设置convig.enviroments.rb
# Load the rails application
require File.expand_path(\'../application\',__FILE__)

# Initialize the rails application
MexoApp::Application.initialize!

ENV[\'RAILS_ENV\'] ||= \'production\'
但不幸的是仍然无法正常工作,并且仍然出现此主题标题中的错误... 有人可以帮我,如何解决这个问题?我已经在第二天为这个问题而苦苦挣扎,而且仍然没有任何变化。     

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...