{"action":"created","issue":{"url":"https://api.github.com/repos/fnando/rails-env/issues/2","labels_url":"https://api.github.com/repos/fnando/rails-env/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/fnando/rails-env/issues/2/comments","events_url":"https://api.github.com/repos/fnando/rails-env/issues/2/events","html_url":"https://github.com/fnando/rails-env/issues/2","id":114344875,"number":2,"title":"auto loads not working","user":{"login":"ricardopacheco","id":499567,"avatar_url":"https://avatars.githubusercontent.com/u/499567?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardopacheco","html_url":"https://github.com/ricardopacheco","followers_url":"https://api.github.com/users/ricardopacheco/followers","following_url":"https://api.github.com/users/ricardopacheco/following{/other_user}","gists_url":"https://api.github.com/users/ricardopacheco/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardopacheco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardopacheco/subscriptions","organizations_url":"https://api.github.com/users/ricardopacheco/orgs","repos_url":"https://api.github.com/users/ricardopacheco/repos","events_url":"https://api.github.com/users/ricardopacheco/events{/privacy}","received_events_url":"https://api.github.com/users/ricardopacheco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-30T19:55:59Z","updated_at":"2015-10-30T19:57:36Z","closed_at":null,"body":"```ruby\r\nRails.env.on(:any) do\r\n  config.autoload_paths += %W(#{Rails.root}/lib)\r\nend\r\n```\r\nand i trying other code (not required rails-env gem)\r\n```ruby\r\nRails.configuration.autoload_paths += %W(#{Rails.root}/lib)\r\n```\r\nnot working in config/initializers/app.rb.\r\n\r\nBut, if i write config.autoload_paths += %W(#{Rails.root}/lib) works. What's reason? "},"comment":{"url":"https://api.github.com/repos/fnando/rails-env/issues/comments/152636800","html_url":"https://github.com/fnando/rails-env/issues/2#issuecomment-152636800","issue_url":"https://api.github.com/repos/fnando/rails-env/issues/2","id":152636800,"user":{"login":"ricardopacheco","id":499567,"avatar_url":"https://avatars.githubusercontent.com/u/499567?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardopacheco","html_url":"https://github.com/ricardopacheco","followers_url":"https://api.github.com/users/ricardopacheco/followers","following_url":"https://api.github.com/users/ricardopacheco/following{/other_user}","gists_url":"https://api.github.com/users/ricardopacheco/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardopacheco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardopacheco/subscriptions","organizations_url":"https://api.github.com/users/ricardopacheco/orgs","repos_url":"https://api.github.com/users/ricardopacheco/repos","events_url":"https://api.github.com/users/ricardopacheco/events{/privacy}","received_events_url":"https://api.github.com/users/ricardopacheco/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T19:57:36Z","updated_at":"2015-10-30T19:57:36Z","body":"ps: i use Rails.application in app.rb for chage behavior configuration of rails e not change the application.rb file"}}