# Error: no such file to load -- geokit (plugin is install)

**URL:** <https://www.ruby-forum.com/t/error-no-such-file-to-load-geokit-plugin-is-install/127232>\
**Category:** Rails\
**Created:** [January 26, 2008, 5:57pm UTC](https://www.ruby-forum.com/t/error-no-such-file-to-load-geokit-plugin-is-install/127232 "2008-01-26T17:57:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcrj45](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f1d935/32.png) [@mcrj45](https://www.ruby-forum.com/u/mcrj45)\
**Post date:** [January 26, 2008, 5:57pm UTC](https://www.ruby-forum.com/t/error-no-such-file-to-load-geokit-plugin-is-install/127232/1 "2008-01-26T17:57:27Z")

</div>

Hi,  
after spending hours on getting geokit and ym4r running I don’t know how  
to do or how to getting a test running. I have try the tutorial from  
[http://www.railslodge.com/plugins/179-ym4r](http://www.railslodge.com/plugins/179-ym4r) but I don’t get it :(.  
Has sone one other tutorials he can recommend?

Maybe someone knows were I did my mistake (I only want to show a fixed  
address, no database connection so far, pure simplicity 😉 ).

I have installed the plugins Geokit and Ym4r (vendor/plugins). So far I  
understood Ym4r require Geokit?  
I have no model (no data will be stored).  
I have a controller geokittest.

The controller contains:  
class GeokittestController \< ApplicationController  
require ‘geokit’  
require ‘ym4r\_gm’  
include ym4r\_gm::GoogleMaps  
include GeoKit::Geocoders

def index  
@map = GMap.new(“map\_div”)  
@map.control\_init(:large\_map =\> true,:map\_type =\> true)  
@map.center\_zoom\_init([75.5,-42.56],4)  
#@map.overlay\_init(GMarker.new([75.6,-42.467],:title =\> “Hello”,  
:info\_window =\> “Info! Info!”))  
end

75.5,-42.56 should be the data for the map.

In the next step I want to initiate a map.  
For this, so far I get it from the tutorial, I have to call the map in  
the view via:

 \<%= GMap.header %\> \<%= @map.to\_html %\> \<%= @map.div(:width =\> 600, :height =\> 400) %\> 

When I now open the rhtml I got the following error message:  
MissingSourceFile in GeokittestController#start  
no such file to load – geokit

What is my mistake? geokit is required and available as plugin in  
vendor… and ideas, assumptions or hints :)?
