# Load the rails application require File.expand_path('../application', __FILE__) Thingspeak::Application.configure do config.action_controller.perform_caching = true config.cache_store = :file_store, "#{Rails.root}/tmp/cache" config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :enable_starttls_auto => true, :address => 'smtp.gmail.com', :port => 587, :domain => '', :authentication => :plain, :user_name => '', :password => '' } end # Initialize the rails application Thingspeak::Application.initialize!