Cannot generate migrations on rails 2.3.4

Posted by Brian Roisentul on Stack Overflow See other posts from Stack Overflow or by Brian Roisentul
Published on 2010-05-26T19:07:27Z Indexed on 2010/05/27 13:11 UTC
Read the original article Hit count: 182

Filed under:

I used to work with rails 2.3.2 before and then I decided to upgrade to version 2.3.4.

Today I tried to generate a migration(I could do this fine with version 2.3.2) and I got the following error message:

C:/Program Files (x86)/NetBeans 6.8/ruby2/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:812:in `const_missing': uninitialized constant ActiveSupport (NameError)
        from D:/Proyectos/Cursometro/www/config/environment.rb:33
        from C:/Program Files (x86)/NetBeans 6.8/ruby2/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:111:in `run'
        from D:/Proyectos/Cursometro/www/config/environment.rb:15
        from D:/Proyectos/Cursometro/www/config/environment.rb:31:in `require'
        from C:/Program Files (x86)/NetBeans 6.8/ruby2/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from C:/Program Files (x86)/NetBeans 6.8/ruby2/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/generate.rb:1
        from C:/Program Files (x86)/NetBeans 6.8/ruby2/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/generate.rb:31:in `require'
        from C:/Program Files (x86)/NetBeans 6.8/ruby2/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from script\generate:3

I don't know why this is happening. Everything worked fine in 2.3.2 and now it doesn't.

© Stack Overflow or respective owner

Related posts about ruby-on-rails