ruby on rails - Could not find generator 'active_admin:install' -
i removed active_admin rails app , trying add active_admin again.
getmfile: gem 'activeadmin', github: 'activeadmin'
and ran command:
rails g active_admin:install
and met error:
running via spring preloader in process 4200 expected boolean default value '--markerb'; got :erb (string) not find generator 'active_admin:install'. maybe meant 'devise:install', 'responders:install' or 'active_record:model'
update: ran bundle install no reaction
update: result of rails -t
rails # list versions of rails frameworks , environment rails app:template # applies template supplied location=(/path/to/template) or url rails app:update # update configs , other generated files (or use upda... rails assets:clean[keep] # remove old compiled assets rails assets:clobber # remove compiled assets rails assets:environment # load asset compile environment rails assets:precompile # compile assets named in config.assets.precompile rails bower:cache:clean # clear bower cache ('bower cache clean') rails bower:clean # attempt keep files listed in 'main' of each component's bower.json rails bower:install[options] # install components bower rails bower:install:deployment[options] # install components bower using generated bower.json rails bower:install:development[options] # install both dependencies , devdependencies bower rails bower:install:production[options] # install dependencies, excluding devdependencies bower rails bower:list # list bower components rails bower:resolve[relative_directory] # resolve assets paths in bower components rails bower:update[options] # update bower components rails bower:update:prune[options] # update existing components , uninstalls extraneous components rails cache_digests:dependencies # lookup first-level dependencies template (like messages/show or comme... rails cache_digests:nested_dependencies # lookup nested dependencies template (like messages/show or comments/_... rails db:create # creates database database_url or config/database.yml cur... rails db:drop # drops database database_url or config/database.yml curre... rails db:environment:set # set environment value database rails db:fixtures:load # loads fixtures current environment's database rails db:migrate # migrate database (options: version=x, verbose=false, scope=blog) rails db:migrate:status # display status of migrations rails db:rollback # rolls schema previous version (specify steps w/ step=n) rails db:schema:cache:clear # clears db/schema_cache.dump file rails db:schema:cache:dump # creates db/schema_cache.dump file rails db:schema:dump # creates db/schema.rb file portable against db supported ... rails db:schema:load # loads schema.rb file database rails db:seed # loads seed data db/seeds.rb rails db:setup # creates database, loads schema, , initializes seed dat... rails db:structure:dump # dumps database structure db/structure.sql rails db:structure:load # recreates databases structure.sql file rails db:version # retrieves current schema version number rails dev:cache # toggle development mode caching on/off rails initializers # print out defined initializers in order invoked rails rails log:clear # truncates all/specified *.log files in log/ 0 bytes (specify ... rails middleware # prints out rack middleware stack rails notes # enumerate annotations (use notes:optimize, :fixme, :todo focus) rails notes:custom # enumerate custom annotation, specify annotation=custom rails restart # restart app touching tmp/restart.txt rails routes # print out defined routes in match order, names rails secret # generate cryptographically secure secret key (this typically used to... rails stats # report code statistics (klocs, etc) application or engine rails test # runs tests in test folder rails test:db # run tests quickly, reset db rails time:zones[country_or_offset] # list time zones, list two-letter country code (`rails time:zones[u... rails tmp:clear # clear cache , socket files tmp/ (narrow w/ tmp:cache:clear, tmp:so... rails tmp:create # creates tmp directories cache, sockets, , pids
update: rails : 5.0.5 rvm: 2.4.1 os: mac
update: ran bundle exec rails g active_admin:install no reaction.
Comments
Post a Comment