Platoniq / decidim-install

A step-by-step guide to install Decidim on a production site
https://platoniq.github.io/decidim-install/
GNU Affero General Public License v3.0
54 stars 35 forks source link

Error installing Decidim, package is corrupt #57

Open AdrianaAR opened 4 years ago

AdrianaAR commented 4 years ago

I'm trying to install Decidim manually and have followed the steps here on Ubuntu 18.04 on VirtualBox

When I arrive at "gem install decidim" I get the following error:

ERROR:  Error installing decidim:
    invalid gem: package is corrupt, exception while verifying: undefined method `path' for "data.tar.gz":String (NoMethodError) in /home/adriana/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/cache/activesupport-5.2.4.3.gem

/Adriana

microstudi commented 4 years ago

seems like some installation went corrupt at some point. Can you try to uninstall all the versions of Decidim you have and then install them again?

You can list all decidim version with this command:

gem list decidim

Then remove specific version with:

gem uninstall decidim -v 0.21.0

You can do the trick with any gem (it seems that activesuport is broken in your case)

Or you can just remove the ~/.rbenv folder and install everything again