{"action":"created","issue":{"url":"https://api.github.com/repos/apneadiving/Google-Maps-for-Rails/issues/508","repository_url":"https://api.github.com/repos/apneadiving/Google-Maps-for-Rails","labels_url":"https://api.github.com/repos/apneadiving/Google-Maps-for-Rails/issues/508/labels{/name}","comments_url":"https://api.github.com/repos/apneadiving/Google-Maps-for-Rails/issues/508/comments","events_url":"https://api.github.com/repos/apneadiving/Google-Maps-for-Rails/issues/508/events","html_url":"https://github.com/apneadiving/Google-Maps-for-Rails/issues/508","id":141167887,"number":508,"title":"Uncaught ReferenceError: Gmaps is not defined","user":{"login":"knd","id":1356620,"avatar_url":"https://avatars.githubusercontent.com/u/1356620?v=3","gravatar_id":"","url":"https://api.github.com/users/knd","html_url":"https://github.com/knd","followers_url":"https://api.github.com/users/knd/followers","following_url":"https://api.github.com/users/knd/following{/other_user}","gists_url":"https://api.github.com/users/knd/gists{/gist_id}","starred_url":"https://api.github.com/users/knd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knd/subscriptions","organizations_url":"https://api.github.com/users/knd/orgs","repos_url":"https://api.github.com/users/knd/repos","events_url":"https://api.github.com/users/knd/events{/privacy}","received_events_url":"https://api.github.com/users/knd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-16T04:13:41Z","updated_at":"2016-05-10T13:35:03Z","closed_at":"2016-03-20T14:12:51Z","body":"I'm using `gmaps4rails 2.1.2`, and `Rails 4.2`, and followed the exact tutorial at readme page. Everything works ok on my local dev machine. However, when I deploy to AWS, it can't to initialize Gmaps.\r\n\r\nOn local dev machine:\r\n<img width=\"1436\" alt=\"screen shot 2016-03-16 at 11 06 54 am\" src=\"https://cloud.githubusercontent.com/assets/1356620/13801775/da9e3bf2-eb67-11e5-8453-450fc5101431.png\">\r\n\r\nOn production:\r\n<img width=\"1431\" alt=\"screen shot 2016-03-16 at 11 07 18 am\" src=\"https://cloud.githubusercontent.com/assets/1356620/13801784/ebae2f42-eb67-11e5-8342-8b4da420104e.png\">\r\n\r\nI open the compressed application.js on production, and see that gmaps4rails scripts are included there. What could be the problem Gmaps can't be initialized?\r\n<img width=\"1434\" alt=\"screen shot 2016-03-16 at 11 08 13 am\" src=\"https://cloud.githubusercontent.com/assets/1356620/13801801/146fec86-eb68-11e5-8e06-c7bdb42d00d7.png\">\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apneadiving/Google-Maps-for-Rails/issues/comments/218158649","html_url":"https://github.com/apneadiving/Google-Maps-for-Rails/issues/508#issuecomment-218158649","issue_url":"https://api.github.com/repos/apneadiving/Google-Maps-for-Rails/issues/508","id":218158649,"user":{"login":"FutoRicky","id":7366284,"avatar_url":"https://avatars.githubusercontent.com/u/7366284?v=3","gravatar_id":"","url":"https://api.github.com/users/FutoRicky","html_url":"https://github.com/FutoRicky","followers_url":"https://api.github.com/users/FutoRicky/followers","following_url":"https://api.github.com/users/FutoRicky/following{/other_user}","gists_url":"https://api.github.com/users/FutoRicky/gists{/gist_id}","starred_url":"https://api.github.com/users/FutoRicky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FutoRicky/subscriptions","organizations_url":"https://api.github.com/users/FutoRicky/orgs","repos_url":"https://api.github.com/users/FutoRicky/repos","events_url":"https://api.github.com/users/FutoRicky/events{/privacy}","received_events_url":"https://api.github.com/users/FutoRicky/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T13:35:03Z","updated_at":"2016-05-10T13:35:03Z","body":"@knd what did you have to change? Having the same issue, currently on Rails 4"}}