Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No generator for geokit:install #15

Open
troessner opened this issue Jul 13, 2011 · 1 comment
Open

No generator for geokit:install #15

troessner opened this issue Jul 13, 2011 · 1 comment

Comments

@troessner
Copy link

From the README:

If you don't already have a geokit_config.rb file, the plugin creates one when it is first installed.

...which is not happening cause it's a gem.
Right now there is no way of generating this file, so I copied the one from: https://github.com/andre/geokit-gem

Still, it is confusing in the docs.

Suggestion:

We should [a] either replace

If you don't already have a geokit_config.rb file, the plugin creates one when it is first installed.

with something like

You can get a sample configuration from .....

or [b] write a simple generator that shows up as

geokit:install

when running

rails g -h

and which simply copies the very same file to config/initializers.

Personally I think [2] should be the way to go to keep the gem more self-contained.

@Jeewes
Copy link

Jeewes commented Aug 23, 2012

One confused here. I was just searching the "generated" (not-existing) file. But no problemos, I'll copy it my self now that I know it's really missing and not just hiding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants