{"action":"created","issue":{"url":"https://api.github.com/repos/awwa/sendgrid4r/issues/14","labels_url":"https://api.github.com/repos/awwa/sendgrid4r/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/awwa/sendgrid4r/issues/14/comments","events_url":"https://api.github.com/repos/awwa/sendgrid4r/issues/14/events","html_url":"https://github.com/awwa/sendgrid4r/issues/14","id":106680818,"number":14,"title":"Action Mailer error","user":{"login":"silvercrow27","id":6946531,"avatar_url":"https://avatars.githubusercontent.com/u/6946531?v=3","gravatar_id":"","url":"https://api.github.com/users/silvercrow27","html_url":"https://github.com/silvercrow27","followers_url":"https://api.github.com/users/silvercrow27/followers","following_url":"https://api.github.com/users/silvercrow27/following{/other_user}","gists_url":"https://api.github.com/users/silvercrow27/gists{/gist_id}","starred_url":"https://api.github.com/users/silvercrow27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvercrow27/subscriptions","organizations_url":"https://api.github.com/users/silvercrow27/orgs","repos_url":"https://api.github.com/users/silvercrow27/repos","events_url":"https://api.github.com/users/silvercrow27/events{/privacy}","received_events_url":"https://api.github.com/users/silvercrow27/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-16T01:49:42Z","updated_at":"2015-11-13T16:19:47Z","closed_at":"2015-09-18T05:25:46Z","body":"Hello, why am I getting this errors whenever I add sendgrid4r in my Gemfile?\r\n\r\n```\r\n/home/laziendo/.rvm/gems/ruby-2.2.2/gems/sendgrid4r-1.2.0/lib/client.rb:19: warning: circular argument reference - username\r\n/home/laziendo/.rvm/gems/ruby-2.2.2/gems/sendgrid4r-1.2.0/lib/client.rb:19: warning: circular argument reference - password\r\n/home/laziendo/.rvm/gems/ruby-2.2.2/gems/sendgrid4r-1.2.0/lib/auth.rb:12: warning: circular argument reference - username\r\n/home/laziendo/.rvm/gems/ruby-2.2.2/gems/sendgrid4r-1.2.0/lib/auth.rb:12: warning: circular argument reference - password\r\n/home/laziendo/.rvm/gems/ruby-2.2.2/gems/sendgrid4r-1.2.0/lib/sendgrid4r/rest/users/users.rb:45: warning: circular argument reference - params\r\n=> Booting WEBrick\r\n=> Rails 4.1.7 application starting in development on http://0.0.0.0:3000\r\n=> Run `rails server -h` for more startup options\r\n=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)\r\n=> Ctrl-C to shutdown server\r\nExiting\r\n/home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/actionmailer-4.1.7/lib/action_mailer/delivery_methods.rb:44:in `<module:ClassMethods>': uninitialized constant ActionMailer::DeliveryMethods::ClassMethods::Mail (NameError)\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/actionmailer-4.1.7/lib/action_mailer/delivery_methods.rb:42:in `<module:DeliveryMethods>'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/actionmailer-4.1.7/lib/action_mailer/delivery_methods.rb:6:in `<module:ActionMailer>'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/actionmailer-4.1.7/lib/action_mailer/delivery_methods.rb:3:in `<top (required)>'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/actionmailer-4.1.7/lib/action_mailer/base.rb:402:in `<class:Base>'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/actionmailer-4.1.7/lib/action_mailer/base.rb:401:in `<module:ActionMailer>'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/actionmailer-4.1.7/lib/action_mailer/base.rb:9:in `<top (required)>'\r\n\tfrom /home/laziendo/Desktop/stuffs/project103/config/initializers/mail.rb:3:in `<top (required)>'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/engine.rb:648:in `block in load_config_initializer'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/activesupport-4.1.7/lib/active_support/notifications.rb:161:in `instrument'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/engine.rb:647:in `load_config_initializer'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/engine.rb:611:in `each'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/engine.rb:611:in `block in <class:Engine>'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/initializable.rb:30:in `instance_exec'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/initializable.rb:30:in `run'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/initializable.rb:55:in `block in run_initializers'\r\n\tfrom /home/laziendo/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'\r\n\tfrom /home/laziendo/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'\r\n\tfrom /home/laziendo/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:420:in `block (2 levels) in each_strongly_connected_component_from'\r\n\tfrom /home/laziendo/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'\r\n\tfrom /home/laziendo/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:419:in `block in each_strongly_connected_component_from'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/initializable.rb:44:in `each'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/initializable.rb:44:in `tsort_each_child'\r\n\tfrom /home/laziendo/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:413:in `call'\r\n\tfrom /home/laziendo/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:413:in `each_strongly_connected_component_from'\r\n\tfrom /home/laziendo/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'\r\n\tfrom /home/laziendo/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:345:in `each'\r\n\tfrom /home/laziendo/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:345:in `call'\r\n\tfrom /home/laziendo/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'\r\n\tfrom /home/laziendo/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'\r\n\tfrom /home/laziendo/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/initializable.rb:54:in `run_initializers'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/application.rb:300:in `initialize!'\r\n\tfrom /home/laziendo/Desktop/stuffs/project103/config/environment.rb:5:in `<top (required)>'\r\n\tfrom /home/laziendo/Desktop/stuffs/project103/config.ru:3:in `require'\r\n\tfrom /home/laziendo/Desktop/stuffs/project103/config.ru:3:in `block in <main>'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/rack-1.5.3/lib/rack/builder.rb:55:in `instance_eval'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/rack-1.5.3/lib/rack/builder.rb:55:in `initialize'\r\n\tfrom /home/laziendo/Desktop/stuffs/project103/config.ru:in `new'\r\n\tfrom /home/laziendo/Desktop/stuffs/project103/config.ru:in `<main>'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/rack-1.5.3/lib/rack/builder.rb:49:in `eval'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/rack-1.5.3/lib/rack/builder.rb:49:in `new_from_string'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/rack-1.5.3/lib/rack/builder.rb:40:in `parse_file'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/rack-1.5.3/lib/rack/server.rb:277:in `build_app_and_options_from_config'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/rack-1.5.3/lib/rack/server.rb:199:in `app'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/commands/server.rb:50:in `app'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/rack-1.5.3/lib/rack/server.rb:314:in `wrapped_app'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/commands/server.rb:130:in `log_to_stdout'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/commands/server.rb:67:in `start'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:81:in `block in server'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:76:in `tap'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:76:in `server'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:40:in `run_command!'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/railties-4.1.7/lib/rails/commands.rb:17:in `<top (required)>'\r\n\tfrom /home/laziendo/Desktop/stuffs/project103/bin/rails:8:in `require'\r\n\tfrom /home/laziendo/Desktop/stuffs/project103/bin/rails:8:in `<top (required)>'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/spring-1.3.6/lib/spring/client/rails.rb:28:in `load'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/spring-1.3.6/lib/spring/client/rails.rb:28:in `call'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/spring-1.3.6/lib/spring/client/command.rb:7:in `call'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/spring-1.3.6/lib/spring/client.rb:26:in `run'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/gems/spring-1.3.6/bin/spring:48:in `<top (required)>'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/bin/spring:23:in `load'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2@global/bin/spring:23:in `<main>'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `eval'\r\n\tfrom /home/laziendo/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `<main>'\r\n"},"comment":{"url":"https://api.github.com/repos/awwa/sendgrid4r/issues/comments/156477729","html_url":"https://github.com/awwa/sendgrid4r/issues/14#issuecomment-156477729","issue_url":"https://api.github.com/repos/awwa/sendgrid4r/issues/14","id":156477729,"user":{"login":"gmhawash","id":47986,"avatar_url":"https://avatars.githubusercontent.com/u/47986?v=3","gravatar_id":"","url":"https://api.github.com/users/gmhawash","html_url":"https://github.com/gmhawash","followers_url":"https://api.github.com/users/gmhawash/followers","following_url":"https://api.github.com/users/gmhawash/following{/other_user}","gists_url":"https://api.github.com/users/gmhawash/gists{/gist_id}","starred_url":"https://api.github.com/users/gmhawash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmhawash/subscriptions","organizations_url":"https://api.github.com/users/gmhawash/orgs","repos_url":"https://api.github.com/users/gmhawash/repos","events_url":"https://api.github.com/users/gmhawash/events{/privacy}","received_events_url":"https://api.github.com/users/gmhawash/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T16:19:47Z","updated_at":"2015-11-13T16:19:47Z","body":"I put `require: false` in the Gemfile and just require it in the file I am using it and that works for me."}}