Gmaps4rails is not define in rails 4.0.0 Google Maps for Rails i am following this tutorial \"http://rubydoc.info/gems/gmaps4rails/2.0.4/frames\"
1) Gemfile
I ran into this issue. The problem was that I was loading the map building javascript in the view before I was loading the core gmaps javascript.
You can solve this by add a yield after your javascripts, and using a content_for block to place your map building javascript after the others. Something like this:
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<%= yield :javascripts %>
and then, wherever you're building your map,
<% content_for :javascripts do %>
<% end %>