#120 ✓resolved
ik_5

Compatibility with ActiveSupport 3.0

Reported by ik_5 | October 10th, 2010 @ 07:19 AM | in 1.0.0

The loading order of modules at adhearsion.rb is wrong.

The Active Support load last, while some of it requirements are needed prior to it's loading.

By Moving require 'active_support/core_ext' it will solve the error message of:
$ ahn /opt/ruby1.8/lib/ruby/gems/1.8/gems/adhearsion-0.8.6/lib/adhearsion/component_manager.rb:4: undefined method mattr_accessor' for Adhearsion::Components:Module (NoMethodError)

    from /opt/ruby1.8/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /opt/ruby1.8/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /opt/ruby1.8/lib/ruby/gems/1.8/gems/adhearsion-0.8.6/lib/adhearsion.rb:17
    from /opt/ruby1.8/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /opt/ruby1.8/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from ./ahn:25

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Pages