Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uninitialized constant ActiveSupport::CoreExtensions (NameError) #29

Open
halidaltuner opened this issue Oct 25, 2012 · 0 comments
Open

Comments

@halidaltuner
Copy link

hi guys,

i installed devise on devise_facebook_connectable plugin. But command traced output

rails generate devise_facebook_connectable --api API_KEY --secret SECRET_KEY
/Users/halid/.rvm/gems/ruby-1.9.3-p194@global/gems/facebooker-1.0.75/lib/facebooker/adapters/adapter_base.rb:6:in `<class:AdapterBase>': uninitialized constant ActiveSupport::CoreExtensions (NameError)
    from /Users/halid/.rvm/gems/ruby-1.9.3-p194@global/gems/facebooker-1.0.75/lib/facebooker/adapters/adapter_base.rb:3:in `<module:Facebooker>'
    from /Users/halid/.rvm/gems/ruby-1.9.3-p194@global/gems/facebooker-1.0.75/lib/facebooker/adapters/adapter_base.rb:1:in `<top (required)>'
    from /Users/halid/.rvm/gems/ruby-1.9.3-p194@global/gems/facebooker-1.0.75/lib/facebooker.rb:259:in `<top (required)>'
    from /Users/halid/.rvm/gems/ruby-1.9.3-p194@global/gems/devise_facebook_connectable-0.2.2/lib/devise_facebook_connectable.rb:3:in `<top (required)>'
    from /Users/halid/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/runtime.rb:68:in `require'
    from /Users/halid/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
    from /Users/halid/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/runtime.rb:66:in `each'
    from /Users/halid/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/runtime.rb:66:in `block in require'
    from /Users/halid/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/runtime.rb:55:in `each'
    from /Users/halid/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/runtime.rb:55:in `require'
    from /Users/halid/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler.rb:119:in `require'
    from /Users/halid/RubymineProjects/kh-network_v2/config/application.rb:7:in `<top (required)>'
    from /Users/halid/.rvm/gems/ruby-1.9.3-p194@global/gems/railties-3.2.6/lib/rails/commands.rb:53:in `require'
    from /Users/halid/.rvm/gems/ruby-1.9.3-p194@global/gems/railties-3.2.6/lib/rails/commands.rb:53:in `block in <top (required)>'
    from /Users/halid/.rvm/gems/ruby-1.9.3-p194@global/gems/railties-3.2.6/lib/rails/commands.rb:50:in `tap'
    from /Users/halid/.rvm/gems/ruby-1.9.3-p194@global/gems/railties-3.2.6/lib/rails/commands.rb:50:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'

Gemfile

source 'https://rubygems.org'
gem 'rails', '3.2.6'
gem 'mysql2'
group :assets do
  gem 'sass-rails',   '~> 3.2.3'
  gem 'coffee-rails', '~> 3.2.1'
  gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'
gem 'devise'
gem 'devise_invitable'
gem "rails_admin", :git => "git://github.com/sferik/rails_admin.git"
gem "settingslogic"
gem 'devise_security_extension'
gem 'devise_facebook_connectable'
gem 'facebooker'
gem 'rails_email_validator'
gem 'devise-basecamper'
gem 'devise-twitter'
gem 'activesupport'

environment.rb

config.gem 'devise_facebook_connectable'
config.gem 'devise'
config.gem 'facebooker'

I wonder where the error am I doing?

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant