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

Error installing milia "Could not find generator 'milia:install'. Maybe you meant 'devise:install', 'migration' or 'mailer'" #83

Open
GautamChibde opened this issue Mar 17, 2018 · 3 comments

Comments

@GautamChibde
Copy link

when I use command

 rails g milia:install --org_email='[email protected]'

I get the error.

Running via Spring preloader in process 29435
Could not find generator 'milia:install'. Maybe you meant 'devise:install', 'migration' or 'mailer'
Run rails generate --help for more options.

Using milia 0.3.30 & Using spring 1.7.2

here is my GemFile.

source 'https://rubygems.org'
gem 'rails', '4.2.5'
gem 'pg', '~> 0.15'
gem 'sass-rails', '~> 5.0'

gem 'devise'
gem 'milia'

gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.1.0'

gem 'jquery-rails'
gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0', group: :doc

group :development, :test do
  gem 'byebug'
end

group :development do
  gem 'web-console', '~> 2.0'
  gem 'spring'
end
@gyyz89
Copy link

gyyz89 commented May 11, 2018

I'm getting the same error as well. Did you manage to find a solution for this?

@johnmarindotco
Copy link

johnmarindotco commented Jun 11, 2018

I ran into this problem about a month ago.

After a long afternoon of googling, I kept seeing the version of rails come up a lot ( at first using rails 4 ), I figured I would start from scratch with the newest version of Rails (at the time Rails 5.1).

I ran into the same problem. I decided to go with Rails 5.0 (not 5.1) and everything seemed to go smoothly. I know it's not much of a fix for your particular scenario but just sharing what got me going.

Additionally, if you do get things going but run into an issue in regards to "authenticating tenant", make sure to add before_action :authenticate_tenant! in application_controller.rb before the protect_from_frogery line.

I remember running into this issue as well and that fixing it.

@sathiyarajbabu
Copy link

rails g milia:install --org_email='[email protected]'
/var/lib/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require': cannot load such file -- /var/lib/gems/2.5.0/gems/milia-1.3.1/lib/milia/password_generator (LoadError) i got this error please help m e

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

4 participants