Uploading theme via Theme Creator CLI


I’m trying to upload my theme using the Discourse Theme Creator CLI and I’ve run into a problem.

The README says to use the ‘run’ command. I’m running Discourse in a docker container and unfortunately the run command didn’t exist until recently (see this merged pull request) , so my docker image doesn’t have the new gem in it that allows this command to be run from the command line.

So, I think I need to update the discourse theme ruby gem in order to be able to run this new command. Does anyone have an idea of how I can update it?

I have tried entering the docker container and running these two commands

bundle config unset deployment
bundle exec bundle update --all

But that causes many errors that look like this (for various gems)

An error occurred while installing raindrops (0.20.0), and Bundler cannot continue.
Make sure that `gem install raindrops -v '0.20.0' --source 'https://rubygems.org/'` succeeds before bundling.

I’ve tried installing the gems individually as above but I get another error. I think I may be on the wrong track here so any help would be greatly appreciated.

Thank you! :slight_smile: