foundation / inky-rb

MIT License
173 stars 33 forks source link

generator not available #56

Closed jpaas closed 7 years ago

jpaas commented 7 years ago

I've just added inky-rb 1.3.7.2 to my Rails 5.0.2 project and I am unable to run rails g inky:install. It appears the generator does not exist.

$ bin/rails g inky:install
Running via Spring preloader in process 26510
Expected string default value for '--serializer'; got true (boolean)
Expected string default value for '--helper'; got true (boolean)
Expected string default value for '--assets'; got true (boolean)
Could not find generator 'inky:install'. Maybe you meant 'chewy:install', 'pundit:install' or 'annotate:install'
Run `rails generate --help` for more options.

$ bin/rails g
Running via Spring preloader in process 26602
Expected string default value for '--serializer'; got true (boolean)
Usage: rails generate GENERATOR [args] [options]

General options:
  -h, [--help]     # Print generator's options and usage
  -p, [--pretend]  # Run but do not make any changes
  -f, [--force]    # Overwrite files that already exist
  -s, [--skip]     # Skip files that already exist
  -q, [--quiet]    # Suppress status output

Please choose a generator below.

Expected string default value for '--helper'; got true (boolean)
Expected string default value for '--assets'; got true (boolean)
Rails:
  assets
  channel
  controller
  generator
  helper
  integration_test
  job
  mailer
  migration
  model
  resource
  scaffold
  scaffold_controller
  serializer
  task

Annotate:
  annotate:install

Chewy:
  chewy:install

Doorkeeper:
  doorkeeper:application_owner
  doorkeeper:install
  doorkeeper:migration
  doorkeeper:previous_refresh_token
  doorkeeper:views

FactoryGirl:
  factory_girl:model

Js:
  js:assets

Kaminari:
  kaminari:config
  kaminari:views

Pundit:
  pundit:install
  pundit:policy

Rspec:
  rspec:policy

Sidekiq:
  sidekiq:worker

TestUnit:
  test_unit:generator
  test_unit:plugin
  test_unit:policy
Connerh92 commented 7 years ago

Is there an easy workaround? Thanks

jpaas commented 7 years ago

I think it was a spring problem. Try stopping spring.

FabioRNobrega commented 4 years ago

I think it was a spring problem. Try stopping spring.

Ye thats works ... just stop the gem spring