You are not logged in. This forum allows only logged in users to post. If you want to post in the forum, please log in.
下载
开发软件
账户
下载
开发软件
登录
我忘记用户名和密码了
创建帐户
语言
帮助
语言
帮助
×
登录
登录名
密码
×
我忘记用户名和密码了
简体中文翻译状态
类别:
软件
用户
PersonalForge
Magazine
Wiki
搜索
OSDN
>
浏览软件
>
興味関心ネットワーク
>
论坛
>
开发者论坛
>
wrong argument type Symbol (expected Proc)
興味関心ネットワーク
描述
项目概述
开发人员仪表板
项目的网页
开发人员
Image Gallery
List of RSS Feeds
Activity
统计
历史
下载
List of Releases
统计
源代码
Code Repository list
Subversion
查看仓库
任务单
Ticket List
里程碑列表
Type List
组件列表
List of frequently used tickets/RSS
Submit New Ticket
文档
FrontPage
Title index
Recent changes
沟通
论坛
List of Forums
开发者论坛 (2)
帮助论坛 (1)
公开讨论 (1)
Mailing Lists
list of ML
新闻
论坛:
开发者论坛
(Thread #29939)
Return to Thread list
RSS
wrong argument type Symbol (expected Proc) (2011-07-21 07:11 by
hidetoshi
#58722)
Create ticket
CentOSでyum updateを実行したら、marsが起動しなくなった。
passengerには下記のようなエラーメッセージ。
----------------------------------------------------
Ruby on Rails application could not be started
Error message:
wrong argument type Symbol (expected Proc)
Exception class:
TypeError
Application root:
/var/lib/mars
Backtrace:
/var/lib/mars/lib/mars/ui/element_set.rb
----------------------------------------------------
エラーが出ているelement_set.rbの51行目を見てみる。
@sequences = seqs.map(&:to_sym)
Ruby 1.8.7以上のto_symが使用されている。
Rubyのバージョンを確認すると、1.8.5と表示される。
あれ?
1.8.5はアンインストールして、1.8.7をインストールしてあるんだけれど、CentOSのアップデートで、1.8.5が有効になってしまっている。
再度、1.8.5をアンインストールして、1.8.7をインストールしたら解決。