Skip to content

Debian Rubygems Update Fix

Robert Brendler requested to merge (removed):debian_rubygems_update_fix into master

in recipes/gems.rb :L27

command "gem update --system"

produced error

While executing gem ... (RuntimeError) gem update --system is disabled on Debian, because it will overwrite the content of the rubygems Debian package, and might break your Debian system in subtle ways. The Debian-supported way to update rubygems is through apt-get, using Debian official repositories.

If you really know what you are doing, you can still update rubygems by setting the REALLY_GEM_UPDATE_SYSTEM environment variable, but please remember that this is completely unsupported by Debian.

Merge request reports