我有一个rails 2应用程序,我正在升级到rails 3。我安装了rvm,这样我就可以同时运行这两个应用程序。
rails 3应用运行得很好。但是,当我尝试恢复Rails2应用程序时,我得到了这个错误。
Processing ApplicationController#index (for 122.179.134.45 at 2012-06-04 09:56:46) [GET]
ArgumentError (wrong number of arguments (1 for 2)):
<internal:prelude>:10:in `synchronize'
passe
我正在尝试从在OpenShift Online (下一代)上部署一个Ubuntu。以下是我这样做的步骤。
$ oc new-project test
$ oc new-app jedisct1/phusion-baseimage-latest
I then deployed from the WebConsole
然而,我得到一个失败的部署和错误状态的“图像拉回”在荚页面。我可能做错了什么事吗?
下面是整个过程的日志。
root@home:~# oc new-project test
Now using project "test" on server "https:
我用Apache2在Ubuntu10.04上做了一个Phusion Passenger设置。每当我重新启动Apache服务器时,我都会收到以下错误消息,Rails应用程序没有运行。
[error] *** Passenger could not be initialized because of this error: Unable to start the Phusion Passenger watchdog because its executable (/usr/lib/phusion-passenger/agents/PassengerWatchdog) does not exist.
我尝试在我的Apache设置中设置Passenger,
我得到了这个错误:
A source file that the application requires, is missing.
It is possible that you didn't upload your application files correctly. Please check whether all your application files are uploaded.
A required library may not installed. Please install all libraries
我收到以下错误,几天前突然弹出并使我的网站崩溃。我在一台Dreamhost机器上使用Ruby 1.8.7,Rails 3.0.0和Passenger。有关同一问题的另一描述,请参阅。
Ruby (Rack) application could not be started.
A source file that the application requires, is missing.
It is possible that you didn't upload your application files correctly. Please check whether all yo
我正在尝试使用Passenger部署一个Rails应用程序。我遵循这个指南:并安装了我所有的gem,但是当我转到我的应用程序应该在的位置时,我发现
The page you were looking for doesn't exist.
You may have mistyped the address or the page may have moved.
我知道这并不是很多的信息,但我不知道现在该怎么做。我从哪里开始解决这个问题呢?
编辑:这在日志中
Started GET "/rideboard" for 173.64.211.61 at 2012-07-31 1
我正在尝试部署一些更改,但我看不到它们,因为我得到的URL在Phusion错误页面上显示"Ruby on Rails应用程序无法启动“。
当我检查日志时,我得到的结果如下所示:
Exception ArgumentError in PhusionPassenger::Railz::ApplicationSpawner (syntax error on line 36, col 1: ` sdc_id: dcsvdln1l00000kv1qsmc4oob_1p3v')
我完全不知道发生了什么,任何帮助都将不胜感激。
提前谢谢你,
罗尔夫
附言:整个轨迹
Exception Arg
我尝试使用启动Redmine,但最终无法使用Passenger启动apache。错误日志:
[Thu Jun 06 19:56:01 2013] [notice] caught SIGTERM, shutting down
[Thu Jun 06 19:56:03 2013] [error] *** Passenger could not be initialized because of this error: Unable to start the Phusion Passenger watchdog because its executable (/usr/agents/Passenge
我在使用time_ago_in_words时遇到了一个问题(由于某种原因)。在发表了一篇文章后,我得到了
translation data {"one"=>"1 minute", "other"=>"{{count}} minutes"} can not be used with :count => 9
我实际上也没有做任何有趣的事情,只是调用一个小的helper函数
def friendly_publish_date(post)
return '' if post.publish_date.
我刚刚升级到Ruby1.9.3-P0和Rails 3.1.3。然后我重新安装了Phusion乘客支持nginx。现在,nginx正在记录每个页面访问上的以下错误:
异步错误thread_timer:选择EBADF
Ruby1.9.3p0 (2011-10-30) x86_64-linux您可能在ruby解释器或扩展库中遇到了一个bug。欢迎报告错误。详细信息:
所有这些都在Ubuntu11.4上。
浏览器中的错误跟踪如下所示:
Passenger encountered the following error:
The application spawner server exite
我刚刚通过gem install安装了Phusion Passenger gem服务器。然后我执行了一个gem check --alien,得到了这个错误消息:
fastthread-1.0.7 has 3 problems
.require_paths:
Extra file
ext/fastthread/Makefile:
Extra file
lib/fastthread.rb:
Extra file
passenger-2.2.15 has 5 problems
.require_paths:
Extra file
ext/phus
我正在DreamHost上测试Rails 3,它刚刚安装了Rails 3。我创建了一个简单的控制器,但它失败了。
浏览器显示500错误(内部服务器错误),日志显示以下消息。
Could not find i18n-0.5.0 in any of the sources
Try running `bundle install`.
*** Exception EOFError in spawn manager (Unexpected end-of-file
detected.) (process 17951):
from /dh/passenger/lib/phusion_passe
编辑:请注意,该应用程序在Passenger/Apache2中出现得很好。只是不是在Nginx。
我只是做了一大堆工作来整理我的gem house (例如,提供我所有的gem并在environment.rb中放置适当的config.gem行)。我重建了所有的宝石并刷新了规格。将这段代码下载到我的登台机器上后,我可以从命令行运行控制台和服务器,但是我的Nginx/Passenger堆栈没有提供应用程序。相反,我得到以下错误:
Passenger encountered the following error:
The application spawner server exited unexp
无法启动 ==>拼音(机架)应用程序,有人可以帮助您吗?
缺少应用程序所需的源文件。
*
It is possible that you didn't upload your application files correctly. Please check whether all your application files are uploaded.
*
A required library may not installed. Please install all libraries that this application requires.
有关错误的更多信息