Viral Rails

Category Archives : Gibbon Gem

How to connect Mailchimp -Video 8

On February 11, 2016, Posted by , In Gibbon Gem,Mailchimp, With No Comments

Table Of Contents Setting up your Mailchimp API key and installing the Gibbon gem Connect Gibbon to Mailchimp Step 1: Create a Mailchimp account. http://mailchimp.com/ Step 2: Add this code to your config/application.rb file config.before_configuration do env_file = File.join(Rails.root, ‘config’, ‘local_env.yml’) YAML.load(File.open(env_file)).each do |key, value| ENV[key.to_s] = value end if File.exists?(env_file) end Also,…