Instagram/instagram-ruby-gem — Issue #21: Private method Configure - Initializers
Author: naoh
Created: 2011-12-04 23:23:03+00:00
State: open

Hi there,
I have an issue trying to set up my instagram environment with client id and client secret in 'initializers/instragram.rb'
Instagram.configure do |config|
config.client_id = "XXX"
config.client_secret = "XXX"
end

When lauching my rails server, i have this error message :

*initializers/instagram.rb:1: private method `configure' called for Instagram:Module (NoMethodError)
from /Library/Ruby/Gems/1.8/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:234:in `load'

my rails version : 3.1.3

Do you have any idea how to solve this issue ?

Many thanks,