Requiring external gems

Based off my own exp, an update:

  • Yes the version number is required
  • To get these dependancies, install ruby 2.6.5 (the current discourse ruby version in use) on your local machine, and create a Gemfile with the gems you want.
  • Execute “bundle install” in the terminal to create Gemfile.lock
  • This lists out all the gems, gem dependancies and version numbers.
  • Do as Rafael notes in plugin.rb

I am not sure what ‘required’ does but I set it to true