Fixes running rake commands when geokit is required but not installed yet.

I added a little logic to not require geokit-rails when the gems rake tasks are being run so it can be installed by running rake gems:install.