lib/vagrant/plugin/manager.rb
def uninstall_plugin(name)
        if @system_file
          if !@user_file.has_plugin?(name) && @system_file.has_plugin?(name)
            raise Errors::PluginUninstallSystem,
              name: name
          end
        end

        @user_file.remove_plugin(name)

        # Clean the environment, removing any old plugins
        Vagrant::Bundler.instance.clean(installed_plugins)
      rescue Gem::Exception => e
        raise Errors::BundlerError, message: e.to_s
      end
# Uninstalls the plugin with the given name.
#
# @param [String] name
Uninstalls the plugin with the given name.
Uninstalls the plugin with the given name .
def uninstall_plugin(name)
        if @system_file
          if !@user_file.has_plugin?(name) && @system_file.has_plugin?(name)
            raise Errors::PluginUninstallSystem,
              name: name
          end
        end
        @user_file.remove_plugin(name)
        Vagrant::Bundler.instance.clean(installed_plugins)
      rescue Gem::Exception => e
        raise Errors::BundlerError, message: e.to_s
      end
def uninstall_plugin ( name ) if @system_file if ! @user_file . has_plugin? ( name ) && @system_file . has_plugin? ( name ) raise Errors :: PluginUninstallSystem , name : name end end @user_file . remove_plugin ( name ) Vagrant :: Bundler . instance . clean ( installed_plugins ) rescue Gem :: Exception => e raise Errors :: BundlerError , message : e . to_s end
Uninstalls the plugin with the given name.
Uninstalls the plugin with the given name .
# Clean the environment, removing any old plugins
name
None