Add this line to your application's Gemfile:
gem 'instagram_upload'
And then execute:
$ bundle
Or install it yourself as:
$ gem install instagram_upload
client = InstagramUpload::Client.new('login', 'password')
client.upload_photo('test.jpg', '#test_upload')
Bug reports and pull requests are welcome on GitHub at https://github.com/postwill/instagram_upload.
The gem is available as open source under the terms of the MIT License.