{"action":"created","issue":{"url":"https://api.github.com/repos/fog/fog-core/issues/159","labels_url":"https://api.github.com/repos/fog/fog-core/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/fog/fog-core/issues/159/comments","events_url":"https://api.github.com/repos/fog/fog-core/issues/159/events","html_url":"https://github.com/fog/fog-core/issues/159","id":100767726,"number":159,"title":"TypeError: no implicit conversion of Symbol into Integer","user":{"login":"jasecoop","id":588780,"avatar_url":"https://avatars.githubusercontent.com/u/588780?v=3","gravatar_id":"","url":"https://api.github.com/users/jasecoop","html_url":"https://github.com/jasecoop","followers_url":"https://api.github.com/users/jasecoop/followers","following_url":"https://api.github.com/users/jasecoop/following{/other_user}","gists_url":"https://api.github.com/users/jasecoop/gists{/gist_id}","starred_url":"https://api.github.com/users/jasecoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasecoop/subscriptions","organizations_url":"https://api.github.com/users/jasecoop/orgs","repos_url":"https://api.github.com/users/jasecoop/repos","events_url":"https://api.github.com/users/jasecoop/events{/privacy}","received_events_url":"https://api.github.com/users/jasecoop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-13T13:21:24Z","updated_at":"2015-08-13T14:06:39Z","closed_at":null,"body":"Hi\r\n\r\nI'm trying to get my app working on Heroku and I'm recieving this error in the server logs around the credentials\r\n\r\n```\r\n2015-08-13T13:09:43.384364+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 59829 -e production`\r\n2015-08-13T13:09:48.324529+00:00 app[web.1]: => Rails 4.2.1 application starting in production on http://0.0.0.0:59829\r\n2015-08-13T13:09:48.324531+00:00 app[web.1]: => Run `rails server -h` for more startup options\r\n2015-08-13T13:09:48.324502+00:00 app[web.1]: => Booting Puma\r\n2015-08-13T13:09:48.324532+00:00 app[web.1]: => Ctrl-C to shutdown server\r\n2015-08-13T13:09:48.622540+00:00 app[web.1]: Exiting\r\n2015-08-13T13:09:48.622587+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/fog-core-1.29.0/lib/fog/core/credentials.rb:71:in `[]': no implicit conversion of Symbol into Integer (TypeError)\r\n2015-08-13T13:09:48.622594+00:00 app[web.1]: \tfrom /app/vendor/bundle/ruby/2.2.0/gems/fog-core-1.29.0/lib/fog/core/service.rb:122:in `fetch_credentials'\r\n2015-08-13T13:09:48.622591+00:00 app[web.1]: \tfrom /app/vendor/bundle/ruby/2.2.0/gems/fog-core-1.29.0/lib/fog/core/credentials.rb:71:in `credentials'\r\n2015-08-13T13:09:48.622596+00:00 app[web.1]: \tfrom /app/vendor/bundle/ruby/2.2.0/gems/fog-aws-0.1.1/lib/fog/aws/credential_fetcher.rb:29:in `fetch_credentials'\r\n2015-08-13T13:09:48.622607+00:00 app[web.1]: \tfrom /app/vendor/bundle/ruby/2.2.0/gems/fog-core-1.29.0/lib/fog/core/service.rb:266:in `handle_settings'\r\n2015-08-13T13:09:48.622610+00:00 app[web.1]: \tfrom /app/vendor/bundle/ruby/2.2.0/gems/fog-core-1.29.0/lib/fog/storage.rb:25:in `new'\r\n2015-08-13T13:09:48.622609+00:00 app[web.1]: \tfrom /app/vendor/bundle/ruby/2.2.0/gems/fog-core-1.29.0/lib/fog/core/service.rb:98:in `new'\r\n2015-08-13T13:09:48.622612+00:00 app[web.1]: \tfrom /app/config/initializers/fog.rb:1:in `<top (required)>'\r\n```\r\n\r\nI am setting Fogs credentials in config/intitializers/fog.rb\r\n\r\n```\r\n::FOG = Fog::Storage.new({\r\n  :provider              =>'AWS',\r\n  :aws_access_key_id     =>ENV['AWS_ACCESS_KEY_ID'],\r\n  :aws_secret_access_key =>ENV['AWS_SECRET_ACCESS_KEY']\r\n})\r\n```\r\n\r\nI'm at a bit of a loss was hoping somebody would be able to shed some light on my problem.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/fog/fog-core/issues/comments/130685995","html_url":"https://github.com/fog/fog-core/issues/159#issuecomment-130685995","issue_url":"https://api.github.com/repos/fog/fog-core/issues/159","id":130685995,"user":{"login":"plribeiro3000","id":672952,"avatar_url":"https://avatars.githubusercontent.com/u/672952?v=3","gravatar_id":"","url":"https://api.github.com/users/plribeiro3000","html_url":"https://github.com/plribeiro3000","followers_url":"https://api.github.com/users/plribeiro3000/followers","following_url":"https://api.github.com/users/plribeiro3000/following{/other_user}","gists_url":"https://api.github.com/users/plribeiro3000/gists{/gist_id}","starred_url":"https://api.github.com/users/plribeiro3000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plribeiro3000/subscriptions","organizations_url":"https://api.github.com/users/plribeiro3000/orgs","repos_url":"https://api.github.com/users/plribeiro3000/repos","events_url":"https://api.github.com/users/plribeiro3000/events{/privacy}","received_events_url":"https://api.github.com/users/plribeiro3000/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T14:06:39Z","updated_at":"2015-08-13T14:06:39Z","body":"After taking a look [here](https://github.com/fog/fog-core/blob/v1.32.1/lib/fog/core/credentials.rb#L71) it seems the issue might be related to your `yaml` file. Could you paste its structure here?"}}