···11+diff --git a/bin/collector b/bin/collector
22+index 4fec65e..e59eac7 100755
33+--- a/bin/collector
44++++ b/bin/collector
55+@@ -3,8 +3,10 @@
66+77+ Process.setproctitle("discourse prometheus-collector")
88+99++# We need the ABI version {MAJOR}.{MINOR}.0 here.
1010++abi_version = ENV['GEM_PATH'].split("/")[-1]
1111+ version = File.read(File.expand_path("../../prometheus_exporter_version", __FILE__)).strip
1212+-spec_file = File.expand_path("../../gems/#{RUBY_VERSION}/specifications/prometheus_exporter-#{version}.gemspec", __FILE__)
1313++spec_file = File.expand_path("../../gems/#{abi_version}/specifications/prometheus_exporter-#{version}.gemspec", __FILE__)
1414+1515+ spec = Gem::Specification.load spec_file
1616+ spec.activate
+3
pkgs/servers/web-apps/discourse/update.py
···212212 {'name': 'discourse-ldap-auth', 'owner': 'jonmbake'},
213213 {'name': 'discourse-math'},
214214 {'name': 'discourse-migratepassword', 'owner': 'discoursehosting'},
215215+ # We can't update this automatically at the moment because the plugin.rb
216216+ # tries to load a version number which breaks bundler called by this script.
217217+ # {'name': 'discourse-prometheus'},
215218 {'name': 'discourse-solved'},
216219 {'name': 'discourse-spoiler-alert'},
217220 {'name': 'discourse-yearly-review'},