Gibbon is a simple wrapper for MailChimp's Primary and Export APIs.
Questions tagged [gibbon]
67 questions
1
vote
1 answer
Check if member exists using Mailchimp 3.0 API and Gibbon [rails]
I am using mailchimp API 3.0 to check if an email address is on a mailing list. I am using the Gibbon gem and if the email IS on the list my code works fine.
list_id = ENV['MAILCHIMP_LIST_ID']
@gibbon = Gibbon::Request.new(api_key:…

SupremeA
- 1,519
- 3
- 26
- 43
1
vote
2 answers
How to delete a user's email from a MailChimp list using the API/Gibbon?
I want to delete a user's email from my list in MailChimp using the API or Gibbon. However, there's no documentation about this in Gibbon repo.
As of now, I can only delete the email from the MailChimp website.

gbertl
- 321
- 2
- 16
1
vote
1 answer
Gibbon GEM: API wrapper for MailChimp's API - How to implement with a DELETE method
The Gibbon Gem seems quite versatile. I managed to use it and create GET requests. For example, I am able to do a GET request and get all information on an order on Mailchimp. But I somehow can't make a request with the method DELETE.
MailChimp…

fydelio
- 932
- 1
- 8
- 22
1
vote
2 answers
Rails doesn't recognise my app/services (uninitialized constant)
I am stuck and even if I found some subjects about this issue, I didn't found any solution.
I am trying to add a subscription to Mailchimp if my "Packer" register to our newsletter (A "Packer" is a kind of "User" - "User" only has the Devise…

Maxime de Beauchesne
- 13
- 1
- 3
1
vote
0 answers
Gibbon failed to open tcp connection on Heroku
Going through Daniel Kehoe's Learn Ruby on Rails book. Have tutorial successfully posting to MailChimp list in development. Pushed to heroku, and tested. When submitting email address to join newsletter, get error in logs -…

user3779532
- 73
- 4
1
vote
1 answer
Rails ActiveJob Background Job Keeps Pinging Mailchimp Repeatedly
I have a rails app (v4.2) I'm developing and when a user registers for the site, I'd like to sign them up to my Mailchimp mailing list. I've implemented this process as a background job with sucker_punch and the gibbon gem. Read more here (Rails…

JohnOHFS
- 174
- 14
1
vote
2 answers
How to work with mailchimp templates using ruby?
I'd like to work with mailchimp templetes with Ruby.
I installed gem mailchimp-api and tried this:
mailchimp = Mailchimp::API.new(ENV['MAILCHIMP_API_KEY'])
lists = mailchimp.templates.list
list = lists['data']
puts list
It returns lists = Hash (3…

dlx
- 59
- 7
1
vote
3 answers
uninitialized constant Gibbon::Request (NameError)
I'm trying to do Basic Mailing List Setup with Gibbon and Mailchimp.
I´m constantly getting this error when I start up my rails server rails s
I even downgraded to version gem 'gibbon', '~>1.2.0'
but still my log is looking like this
…

DaudiHell
- 808
- 10
- 32
1
vote
1 answer
Gibbon Gem Mailchimp Form Issue
I'm not sure why, but emails aren't being passed through to my Mailchimp list. Clicking the submit button doesn't do anything. Any thoughts?
Gemfile:
gem 'gibbon', '~> 1.0.0'
index.html.erb:
<%= form_tag('/welcome/subscribe', method: "post", id:…

saffront
- 138
- 1
- 7
1
vote
1 answer
Rails Mailchimp API error with Gibbon
Pretty big newb here. Trying to set up ruby on rails application with mailing list subcriptions to mailchimp through gibbon. I originally was having an issue with the API KEY but after fixing the routes and my ~/.bashrc for my config/secrets.yml,…

duwerq
- 99
- 9
1
vote
1 answer
Adding users to mail chimp list on registration with Gibbon and Devise
I'm trying to figure out how to add a user to my mail chimp list when they register for my app. I'm using Gibbon for mail chimp and Devise for authentication.
Here are the relevant files (I think)..
initialize/gibbon.rb
Gibbon::API.api_key =…

user3787971
- 457
- 4
- 22
1
vote
1 answer
Gibbon / Mailchimp Signup Form
Having some trouble creating a simple signup form for a mailchimp list. Can't figure out why when they email passes through, it doesn't pass over to mailchimp.. thoughts? I'm sure I missed a step here.
index.html.erb (Form)
<%=…

Harrison Young
- 29
- 7
1
vote
0 answers
Using Gibbon on Heroku for MailChimp
I am using Gibbon to automatically send a new user's email to Mailchimp.
In my Heroku logs I get this error message:
Gibbon::MailChimpError (Signup disabled for "a@a.com"):
My gibbon.rb has my Mailchimp API key:
Gibbon::API.api_key = "My API key…

DeeBee
- 145
- 11
1
vote
2 answers
Subscribe someone to Mailchimp list if they don't already exist
I've recently added the ability to subscribe people to a mailchimp list from my rails app using the Gibbon gem.
It is working perfectly to subscribe people to list when they register, and when they login it updates their information on the mailchimp…

camillavk
- 521
- 5
- 20
1
vote
2 answers
Heroku needs different code to set environmental variable but why?
For the first time I have a question to an answer I already solved, this is more about WHY my little fix solved it in the first place.
I'm following the Learn Rails book tutorial by Daniel Kehoe, creating an application that is supposed to subscribe…
user4325086