friendly_id-globalize icon indicating copy to clipboard operation
friendly_id-globalize copied to clipboard

Generator is not working

Open mb8z opened this issue 9 years ago • 3 comments

I downloaded the gem and installed it, and when trying to run the rails g friendly_id_globalize I get Could not find generator 'friendly_id_globalize'. Maybe you meant 'friendly_id', 'react_on_rails:base' or 'resource_route'

mb8z avatar Apr 24 '17 21:04 mb8z

Hello! Can you please clarify - how did you install it?

parndt avatar Apr 30 '17 22:04 parndt

Same problem on rails 5.1.

gem 'friendly_id-globalize' in gem file bundle install

then ran generator and got same message as above

simonhutchings avatar May 11 '17 14:05 simonhutchings

I have solved it by getting the gem directly from github. I incurred in the same problem with friendly_id '5.1.0' and friendly_id-globalize '1.0.0.alpha2, so now in my Gemfile I have this:

gem 'friendly_id', '~> 5.2.0'
gem 'friendly_id-globalize', git: 'https://github.com/norman/friendly_id-globalize'

pbmolini avatar Nov 13 '17 10:11 pbmolini