plataformatec/devise — Issue #1593: Error with devise 1.5.3, rails 3.2 and ruby 1.9.3-p0
Author: matrixise
Created: 2012-01-24 00:25:04+00:00
State: open

Hi all,

I get this error when I run the active_admin:install generator

/Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/bundler/gems/devise-d8656427fde4/lib/devise/rails/routes.rb:191:in `map!': undefined method `to_sym' for # (NoMethodError)
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/bundler/gems/devise-d8656427fde4/lib/devise/rails/routes.rb:191:in `devise_for'
from /Users/stephane/projects/www.caviste.be/cav3.2/config/routes.rb:6:in `block in '
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/actionpack-3.2.0/lib/action_dispatch/routing/route_set.rb:272:in `instance_exec'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/actionpack-3.2.0/lib/action_dispatch/routing/route_set.rb:272:in `eval_block'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/actionpack-3.2.0/lib/action_dispatch/routing/route_set.rb:249:in `draw'
from /Users/stephane/projects/www.caviste.be/cav3.2/config/routes.rb:1:in `'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:245:in `load'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:245:in `block in load'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:236:in `load_dependency'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:245:in `load'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/railties-3.2.0/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/railties-3.2.0/lib/rails/application/routes_reloader.rb:40:in `each'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/railties-3.2.0/lib/rails/application/routes_reloader.rb:40:in `load_paths'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/railties-3.2.0/lib/rails/application/routes_reloader.rb:16:in `reload!'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/railties-3.2.0/lib/rails/application/routes_reloader.rb:26:in `block in updater'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/activesupport-3.2.0/lib/active_support/file_update_checker.rb:78:in `call'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/activesupport-3.2.0/lib/active_support/file_update_checker.rb:78:in `execute'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/railties-3.2.0/lib/rails/application/routes_reloader.rb:27:in `updater'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/railties-3.2.0/lib/rails/application/routes_reloader.rb:9:in `rescue in execute_if_updated'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/railties-3.2.0/lib/rails/application/routes_reloader.rb:7:in `execute_if_updated'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/railties-3.2.0/lib/rails/application/finisher.rb:67:in `block in '
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/railties-3.2.0/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/railties-3.2.0/lib/rails/initializable.rb:30:in `run'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/railties-3.2.0/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/railties-3.2.0/lib/rails/initializable.rb:54:in `each'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/railties-3.2.0/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/railties-3.2.0/lib/rails/application.rb:136:in `initialize!'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/railties-3.2.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /Users/stephane/projects/www.caviste.be/cav3.2/config/environment.rb:5:in `'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `require'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `block in require'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:236:in `load_dependency'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `require'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/railties-3.2.0/lib/rails/application.rb:103:in `require_environment!'
from /Users/stephane/.rvm/gems/ruby-1.9.3-p0@rails3.2/gems/railties-3.2.0/lib/rails/commands.rb:25:in `'
from script/rails:6:in `require'
from script/rails:6:in `

'

Is there a patch for that ?

Thank you