local variable or method `config' for main:Object (NameError)

前端 未结 3 1412
猫巷女王i
猫巷女王i 2021-02-14 03:14

I\'m following this post for integrating Omniauth Twitter + Devise http://sourcey.com/rails-4-omniauth-using-devise-with-twitter-facebook-and-linkedin/ and I have encounter an i

3条回答
  •  既然无缘
    2021-02-14 03:36

    If you have config.xxx in environment.rb

    delete it and add these into development.rb:

    Rails.application.configure do
      config.xxx
    end
    

提交回复
热议问题