-
Notifications
You must be signed in to change notification settings - Fork 333
Remove the gem #226
Comments
please check vendor directory, and remove the like related with the error @D7na |
Hello, is there a procedure to un-install the gem? Do we need to manually remove tables from database, or remove some .rb files? Thanks. |
We need a way of deleting this gem. It makes deployments take about five times as long and it leaves behind a bunch of things that destroy migrations. |
To remove the Gem you will need to reverse some steps. You can see what the current install task does here: If you can find the commit when you added the gem that may be the best indicator. It's possible you may have updated the gem and more is required, than the initial commit. Removing the Spree Static Content Plugin
class RemoveSpreeStaticContentPlugin < ActiveRecord::Migration[6.0]
def up
drop_table :spree_pages
drop_table :spree_pages_stores
end
def down
raise ActiveRecord::IrreversibleMigration
end
end
Note: Currently these are the two tables that are being created. Note to self for private repo, commit that added the plugin: |
Hi. I want to completely remove the spree_static_content from my application, how can I do it? I will remove it from gemfile and gemfile.lock but get the error, after bundle install:
How can I delete it?
The text was updated successfully, but these errors were encountered: