# Gem customization

**URL:** <https://www.ruby-forum.com/t/gem-customization/194478>\
**Category:** Rails\
**Created:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/gem-customization/194478 "2010-09-06T16:39:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![badnaam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e36b37/32.png) [@badnaam](https://www.ruby-forum.com/u/badnaam)\
**Post date:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/gem-customization/194478/1 "2010-09-06T16:39:40Z")

</div>

I added some caching functionality to the geokit gem and used  
gemcutter to create a copy ‘badnaam-geokit’. The only changed are in  
Geocoders.rb which works fine if I just modify it locally.

However, after I published it to rubygems and installed it and require  
it as ‘badnaam-geokit’ in my environment.rb file I get a nasty.

Any ideas?

Here is the my fork on github

> **[GitHub - badnaam/geokit-gem: Official Geokit Gem. Geokit gem provides...](https://github.com/badnaam/geokit-gem)**
>
> Official Geokit Gem. Geokit gem provides geocoding and distance/heading calculations. Pair with the geokit-rails plugin for full-fledged location-based app functionality. - GitHub - badnaam/geokit-...

and here is the gem.  
[http://rubygems.org/gems/badnaam-geokit](http://rubygems.org/gems/badnaam-geokit)

no such file to load – badnaam-geokit  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in  
`gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require’  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/  
active\_support/dependencies.rb:156:in `require' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ active_support/dependencies.rb:521:in `new\_constants\_in’  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/  
active\_support/dependencies.rb:156:in `require' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/ gem_dependency.rb:208:in `load’  
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:  
307:in `load_gems' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb: 307:in `each’  
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:  
307:in `load\_gems’
