apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.26k stars 382 forks source link

Could not find generator gmaps4rails:install. #151

Closed aaronmase closed 12 years ago

aaronmase commented 12 years ago

I'm on Rails 3.1.1 and I am unable to run the generator:

Could not find generator gmaps4rails:install.

Is the generator included in the current version?

apneadiving commented 12 years ago

Weird, what did you type?

aaronmase commented 12 years ago

I typed:

rails generate gmaps4rails:install

I am using gmaps4rails version 0.5.0 and I am using ruby 1.9.2.

apneadiving commented 12 years ago

Ah ok, this version of the gem is quite old.

Check the changelog to see when the generator was included or simply get the newest version.

aaronmase commented 12 years ago

Ah! Whoops! Thanks for the prompt response and for your work on this amazing gem.

gkrathwohl commented 11 years ago

I am using gem version 2.0.3 and ruby 1.9.3 and get the same error. Ideas? Thanks

rajesh2210 commented 10 years ago

@Benjamin Roth I am using ruby 2.0.0, and rails 4.0.0 with gem 'gmaps4rails' gem is installing but when i am doing 'rails generate gmaps4rails:install' its showing 'Could not find generator gmaps4rails:install'.

Any solution you have please share.

SaulG commented 10 years ago

Which version of gmaps4rails are you using @rajesh2210 ?

apneadiving commented 10 years ago

v2 doesnt include generator anymore, please read documentation

dm103 commented 10 years ago

i m hvng rails 4.0.0 and 'gmaps4rails' gem which i have installed is 2.1.1.. when i run dis "rails generate gmaps4rails:install" it say:- Could not find generator gmaps4rails:install. so what should i do..?? Thanks..!!

apneadiving commented 10 years ago

@dm103 you should read the doc

carlosch7 commented 8 years ago

nothing this gem working