apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.27k stars 382 forks source link

Can't find variable: Gmaps #556

Closed giacomo-giovenzana closed 6 years ago

giacomo-giovenzana commented 6 years ago

Rails beginner. Following the #555, after website is loaded, I am trying to load my first maps on rails, but I get the following error: Can't find variable: Gmaps on the line: handler = Gmaps.build('Google'); I have simply copied and pasted the example snipped code from point 5 of the Requirements page "5) Javascript code"

giacomo-giovenzana commented 6 years ago

Maybe my mistake in adding and installing the gem.