I've created a gem. You can see the full source code here: https://github.com/agilie/instagram_api_gem (in any case, not advertising)
However, when I use it in the Rails project
# Gemfile
gem 'instagram_api_client'
it doesn't work untill a manually require it somewhere in the initializers like
require 'instagram_api'
Why does this happen? I want it to work without any manual requires like other rails gems work.