rafaelfranca/simple_form-bootstrap — Issue #3: undefined method `wrappers' for SimpleForm:Module (NoMethodError)
Author: hatem
Created: 2011-10-17 18:20:01+00:00
State: open

Hi,

Trying to start the server, I'm getting this error:

/media/Projects/Kha6wa/kha6wa/config/initializers/simple_form.rb:3:in `block in ': undefined method `wrappers' for SimpleForm:Module (NoMethodError)
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/simple_form-1.5.2/lib/simple_form.rb:143:in `setup'
from /media/Projects/Kha6wa/kha6wa/config/initializers/simple_form.rb:2:in `'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:234:in `load'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:234:in `block in load'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in `block in load_dependency'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:in `new_constants_in'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in `load_dependency'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:234:in `load'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/engine.rb:556:in `block (2 levels) in '
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/engine.rb:555:in `each'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/engine.rb:555:in `block in '
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:30:in `instance_exec'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:30:in `run'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:54:in `each'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:54:in `run_initializers'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/application.rb:96:in `initialize!'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /media/Projects/Kha6wa/kha6wa/config/environment.rb:7:in `'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `block in require'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in `block in load_dependency'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:in `new_constants_in'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in `load_dependency'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require'
from /media/Projects/Kha6wa/kha6wa/config.ru:4:in `block in

'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.3.4/lib/rack/builder.rb:51:in `instance_eval'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.3.4/lib/rack/builder.rb:51:in `initialize'
from /media/Projects/Kha6wa/kha6wa/config.ru:1:in `new'
from /media/Projects/Kha6wa/kha6wa/config.ru:1:in `

'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.3.4/lib/rack/builder.rb:40:in `eval'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.3.4/lib/rack/builder.rb:40:in `parse_file'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.3.4/lib/rack/server.rb:200:in `app'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/commands/server.rb:46:in `app'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.3.4/lib/rack/server.rb:301:in `wrapped_app'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.3.4/lib/rack/server.rb:252:in `start'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/commands/server.rb:70:in `start'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/commands.rb:54:in `block in '
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/commands.rb:49:in `tap'
from /opt/ruby-1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/commands.rb:49:in `'
from script/rails:6:in `require'
from script/rails:6:in `

'