我正在尝试使用Phusion Passenger在Apache中运行Ruby on Rails的web应用程序。我已经配置了httpd.conf文件。我还有另一个应用程序,它与'rails server‘命令一起运行,它连接到开发数据库。我必须配置什么才能让我的Ruby on Rails应用程序像开发一样运行?
在使用从rails s -e production启动的生产服务器时,我访问的每个页面都会返回以下错误: # your application in memory, allowing both thread web servers# config.action_dispatch.rack_cache = true
# Disable Rails's static as
在我的Rails应用程序中,我使用任何创业板运行Sideqik任务。当我在rails控制台中手动运行该命令时,它可以工作。但是,任何时候cron失败时都会出现以下错误:它在日志中不断重复。116:in `block in <class:Railtie>'
from /home/pubudu/.rvm/gems/ruby-2.1.5/gems/railties-4.2.0/lib/railsinitializable.rb: