{"action":"created","issue":{"url":"https://api.github.com/repos/MQuy/mjml/issues/1","repository_url":"https://api.github.com/repos/MQuy/mjml","labels_url":"https://api.github.com/repos/MQuy/mjml/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/MQuy/mjml/issues/1/comments","events_url":"https://api.github.com/repos/MQuy/mjml/issues/1/events","html_url":"https://github.com/MQuy/mjml/issues/1","id":157930601,"number":1,"title":"undfined method `configure' for Mjml:Module","user":{"login":"HugoGiraudel","id":1889710,"avatar_url":"https://avatars.githubusercontent.com/u/1889710?v=3","gravatar_id":"","url":"https://api.github.com/users/HugoGiraudel","html_url":"https://github.com/HugoGiraudel","followers_url":"https://api.github.com/users/HugoGiraudel/followers","following_url":"https://api.github.com/users/HugoGiraudel/following{/other_user}","gists_url":"https://api.github.com/users/HugoGiraudel/gists{/gist_id}","starred_url":"https://api.github.com/users/HugoGiraudel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HugoGiraudel/subscriptions","organizations_url":"https://api.github.com/users/HugoGiraudel/orgs","repos_url":"https://api.github.com/users/HugoGiraudel/repos","events_url":"https://api.github.com/users/HugoGiraudel/events{/privacy}","received_events_url":"https://api.github.com/users/HugoGiraudel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-01T15:04:19Z","updated_at":"2016-06-01T15:31:40Z","closed_at":null,"body":"Hi,\r\n\r\nWe are trying to use your gem in our application at Edenspiekermann, but we end up with a weird error:\r\n\r\n```\r\n/Users/hgiraudel/Sites/amaphiko-api/config/application.rb:50:in `<class:Application>': undefined method `configure' for Mjml:Module (NoMethodError)\r\n\tfrom /Users/hgiraudel/Sites/amaphiko-api/config/application.rb:10:in `<module:Amaphiko>'\r\n\tfrom /Users/hgiraudel/Sites/amaphiko-api/config/application.rb:9:in `<top (required)>'\r\n\tfrom /Users/hgiraudel/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:78:in `require'\r\n\tfrom /Users/hgiraudel/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:78:in `block in server'\r\n\tfrom /Users/hgiraudel/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:75:in `tap'\r\n\tfrom /Users/hgiraudel/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:75:in `server'\r\n\tfrom /Users/hgiraudel/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in `run_command!'\r\n\tfrom /Users/hgiraudel/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/commands.rb:17:in `<top (required)>'\r\n\tfrom bin/rails:4:in `require'\r\n\tfrom bin/rails:4:in `<main>'\r\n```\r\n\r\nAny idea what could cause this? If we skip the configuration part, we end up with the same problem with the `render` method in our mailer. We run on Ruby 2.2.0 and Rails 4.2.6. \r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/MQuy/mjml/issues/comments/223030923","html_url":"https://github.com/MQuy/mjml/issues/1#issuecomment-223030923","issue_url":"https://api.github.com/repos/MQuy/mjml/issues/1","id":223030923,"user":{"login":"MQuy","id":1636026,"avatar_url":"https://avatars.githubusercontent.com/u/1636026?v=3","gravatar_id":"","url":"https://api.github.com/users/MQuy","html_url":"https://github.com/MQuy","followers_url":"https://api.github.com/users/MQuy/followers","following_url":"https://api.github.com/users/MQuy/following{/other_user}","gists_url":"https://api.github.com/users/MQuy/gists{/gist_id}","starred_url":"https://api.github.com/users/MQuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MQuy/subscriptions","organizations_url":"https://api.github.com/users/MQuy/orgs","repos_url":"https://api.github.com/users/MQuy/repos","events_url":"https://api.github.com/users/MQuy/events{/privacy}","received_events_url":"https://api.github.com/users/MQuy/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T15:31:40Z","updated_at":"2016-06-01T15:31:40Z","body":"@HugoGiraudel Could you try replacing `Mjml.render(\"#{Dir.pwd}/app/views/foobar_mailer/baz.mjml\", {})` into `Mjml.render(\"#{Dir.pwd}/app/views/foobar_mailer/baz\", {})`"}}
{"actor":{"display_login":"MQuy"}}