Forum: Ruby on Rails cartographer help

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
86fbe1d13676473496f4b39421466f7c?d=identicon&s=25 Scott Pn (darkomen1234)
on 2007-07-23 02:20
I am trying to use the cartographer plugin. I downloaded the trunk of
the plugins folder and placed it into the vendor/plugins folder. I read
the README file and it said to place the Cartographer.rb file in the
verndor/plugins folder, and it also said to put "include Cartographer"
in the environment.rb config file, which I did. I also got an Google API
key for my page and set it up the way they said to in the keys.rb file
inside the plugin folder. Now when I put <%= gmaps_header %> onto my
layout page for the respected key it says "undefined local variable or
method `gmaps_header' for #<#<Class:0x4874818>:0x48747f0>". I also
noticed it said (in the header.rb file) it says the new way of calling
the header is GMap::Header.header_for(request), so I tried that in the
place of the gmaps_header, and it threw this error "uninitialized
constant ActionView::Base::CompiledTemplates::GMap", and I also included
the keys inside the "cartographer-config.yml" file which is in the
plugins\cartographer\lib folder. Is there something that I am doing
wrong to get this working?
Aecacd1c297aa17bcf933c4d7c442c4e?d=identicon&s=25 Olivier Olivier (olivier_grimard)
on 2008-08-24 06:04
Hi Scott,
     I had the same error and I found how to fix it. You need to install
manually the gem.
You can download it from
then run gem install ym4r-0.6.1

This topic is locked and can not be replied to.