Hi ! Trying to install your plugin on a container (bitnami/discourse). But i can’t precompil assets with the command : RAILS_ENV=production bundle exec rake assets:precompile. This fail everytime with the error : NameError: uninitialized constant BaseBookmarkable.
Hope you can help me to understand what’s going on ! Thanks by advance.
1 Like
Hi there, i’m having the exact same issue this morning.
Worth noting, I installed 3 other plugins the exact same way without any error.
@Lexias
Well i found a workaround :
RAILS_ENV=production bundle exec rake plugin:install repo=https://github.com/discourse/discourse-data-explorer
cd "$DISCOURSE_BASE_DIR/plugins/discourse-data-explorer"
git reset --hard 92bdea38b2af1b4e04f4c52d1bd34550d553f66b
cd "$DISCOURSE_BASE_DIR"
RAILS_ENV=production bundle exec rake assets:precompile
Made a git reset to a working version before the BaseBookmarkable commit, it’s now working like a charm.
1 Like