I use devise+omniauth to enable users to login through facebook. The setup is in config/initializers/devise.rb. I don't have omniauth.rb.
devise.rb looks like this.(only omniauth part)
Devise.setup do |config|
# ==> OmniAuth
# Add a new OmniAuth provider. Check the wiki for more information on setting
# up on your models and hooks.
# config.omniauth :github, 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo'
config.omniauth :facebook, 'APP_ID', 'APP_SECRET'
end
Also, your devise.rb is too short. You can generate devise.rb template and using this command.
rails generate devise:install