collectiveidea/delayed_job — Issue #322: uninitialized constant Syck::Syck::BadAlias (NameError)
Author: alejandro-lextrend
Created: 2011-12-21 11:25:05+00:00
State: open

Hi,

I'm using Rails 3.1.1 and ruby 1.9.2p136 (2010-12-25 revision 30365).

When I try to install the Delayed_Job Gem I get the following error:

script/rails generate delayed_job
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/inflector/methods.rb:124:in `block in constantize': uninitialized constant Syck::Syck::BadAlias (NameError)
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/inflector/methods.rb:123:in `each'
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/inflector/methods.rb:123:in `constantize'
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/string/inflections.rb:43:in `constantize'
from /home/desarrollo/.bundler/ruby/1.9.1/delayed_job-b83c254c62dd/lib/delayed/syck_ext.rb:17:in `yaml_tag_read_class'
from /usr/local/lib/ruby/1.9.1/syck.rb:135:in `transfer'
from /usr/local/lib/ruby/1.9.1/syck.rb:135:in `node_import'
from /usr/local/lib/ruby/1.9.1/syck.rb:135:in `load'
from /usr/local/lib/ruby/1.9.1/syck.rb:135:in `load'
from /usr/local/lib/ruby/1.9.1/syck.rb:146:in `block in load_file'
from /usr/local/lib/ruby/1.9.1/syck.rb:145:in `open'
from /usr/local/lib/ruby/1.9.1/syck.rb:145:in `load_file'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.0/lib/i18n/backend/base.rb:171:in `load_yml'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.0/lib/i18n/backend/base.rb:157:in `load_file'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.0/lib/i18n/backend/base.rb:15:in `block in load_translations'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.0/lib/i18n/backend/base.rb:15:in `each'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.0/lib/i18n/backend/base.rb:15:in `load_translations'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.0/lib/i18n/backend/simple.rb:57:in `init_translations'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.0/lib/i18n/backend/simple.rb:71:in `lookup'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.0/lib/i18n/backend/base.rb:26:in `translate'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.0/lib/i18n.rb:156:in `block in translate'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.0/lib/i18n.rb:152:in `catch'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.0/lib/i18n.rb:152:in `translate'
from /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-3.1.1/lib/active_record/railtie.rb:102:in `block in '
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/lazy_load_hooks.rb:34:in `call'
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/lazy_load_hooks.rb:34:in `execute_hook'
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/lazy_load_hooks.rb:42:in `each'
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'
from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/application/finisher.rb:56:in `block in '
from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:30:in `instance_exec'
from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:30:in `run'
from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:54:in `each'
from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:54:in `run_initializers'
from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/application.rb:96:in `initialize!'
from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /home/desarrollo/rails_apps/fundspeople/config/environment.rb:5:in `'
from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/application.rb:83:in `require_environment!'
from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/commands.rb:22:in `'
from script/rails:6:in `require'
from script/rails:6:in `

'

Regards