rake db:migrate gives a uninitialized class variable @@configuration in Rails error

Posted by PK on Stack Overflow See other posts from Stack Overflow or by PK
Published on 2009-11-27T05:02:45Z Indexed on 2010/04/20 2:03 UTC
Read the original article Hit count: 388

Filed under:
|
|
uninitialized class variable @@configuration in Rails
/usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/initializer.rb:19:in `configuration'
/usr/lib/ruby/gems/1.8/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:24
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'

This is the initial part of the enviroment.rb:

RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION

require File.join(File.dirname(__FILE__), 'boot')

Rails::Initializer.run do |config|

  config.gem "oauth", :version => "0.2.7", :lib => "oauth"

© Stack Overflow or respective owner

Related posts about ruby

Related posts about ruby-on-rails