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.
Descargar
Desarrollar
Cuenta
Descargar
Desarrollar
Entrar
Forgot Account/Password
Crear Cuenta
Idioma
Ayuda
Idioma
Ayuda
×
Entrar
Nombre de usuario
Contraseña
×
Forgot Account/Password
Translation Status of Español
Categoría:
Software
Gente
PersonalForge
Magazine
Wiki
Buscar
OSDN
>
Buscar Software
>
興味関心ネットワーク
>
Foros
>
Developers
>
wrong argument type Symbol (expected Proc)
興味関心ネットワーク
Descripción
Project Summary
Developer Dashboard
Página Web
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
Historial
Descargas
List of Releases
Stats
Código Fuente
Code Repository list
Subversion
Ver Repositorio
Incidencia
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
FrontPage
Title index
Recent changes
Communication
Foros
List of Forums
Developers (2)
Ayuda (1)
Open Discussion (1)
Mailing Lists
list of ML
Noticias
Foros:
Developers
(Thread #29939)
Return to Thread list
RSS
wrong argument type Symbol (expected Proc) (2011-07-21 07:11 by
hidetoshi
#58722)
Crear incidencia
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をインストールしたら解決。