diff --git a/script/packagecloud.rb b/script/packagecloud.rb
index <HASH>..<HASH> 100644
--- a/script/packagecloud.rb
+++ b/script/packagecloud.rb
@@ -8,9 +8,13 @@ end
 
 require "json"
 
+packagecloud_ruby_minimum_version = "1.0.4"
 begin
+  gem "packagecloud-ruby", ">=#{packagecloud_ruby_minimum_version}"
   require "packagecloud"
+  puts "Using packagecloud-ruby:#{Gem.loaded_specs["packagecloud-ruby"].version}"
 rescue LoadError
+  puts "Requires packagecloud-ruby >=#{packagecloud_ruby_minimum_version}"
   puts %(gem install packagecloud-ruby)
   exit 1
 end
Enforced a minimum gem version of <I> for packagecloud-ruby (<I> is the current bare minimum). Avoids issues such as encountered in #<I>.

Installation of the gem is still typically done outside of the script and with sudo access for centralized installation.