-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gmaps is not defined #549
Comments
this is turbolinks related, try to disable turbolinks and you'll be fine, or load the gmaps in head/allpages. |
Did you ever fix this problem, I'm facing this problem and I cannot find my way out. |
Yep. I need to use the CDN:
I ask the same question in StackOverflow: https://stackoverflow.com/questions/44704324/gmaps-is-not-defined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I´m developing an website in ROR
I am using gem 'gmaps4rails'.
In localhost the map is showed, but when i put on a production server (DigitalOcean) gives me this error: Uncaught ReferenceError: Gmaps is not defined
i have this script in my index.html.erb:
My application.js is this:
Anyone know how can i resolve my problem?
The text was updated successfully, but these errors were encountered: