-
Any idea why I'm getting the following error on Mac after running "$ rails generate adminterface:install": 1: from /Users/xx/.rvm/gems/ruby-2.7.2/gems/adminterface-0.2.0/lib/generators/adminterface/install/install_generator.rb:8:in |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hello @mubeguku, In the meanwhile, you can use the following to work around this issue: # install active_admin
$ rails g active_admin:install --use_webpacker
# install action_text
$ bin/rails action_text:install
# install webpacker
$ bin/rails webpacker:install
# install adminterface assets using webpacker
$ rails g adminterface:webpacker
# install adminterface comments with action text
$ rails g adminterface:comments
# run the migration
$ rails db:migrate
# start the server
$ rails server Thanks again for reporting the issue, and please let me know if the above works for you. 🙏 |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot!! Now I'm running into another issue on $ rails db:migrate `-- rename_column(:active_admin_comments, :body, :body_backup) PG::UndefinedTable: ERROR: relation "active_admin_comments" does not exist` |
Beta Was this translation helpful? Give feedback.
Hello @mubeguku,
Thank you for reporting this issue. It seems to be a bug related to how the
install_generator
invokes the generator foraction_text
. I have created issue #113 and we will prepare a patch for this bug.In the meanwhile, you can use the following to work around this issue: