method
parse!
parse!(args)
public
Hide source
# File railties/lib/commands/plugin.rb, line 728 def parse!(args) options.parse!(args) environment = @base_command.environment install_method = determine_install_method puts "Plugins will be installed using #{install_method}" if $verbose args.each do |name| if name =~ /\// then ::Plugin.new(name).install(install_method, @options) else plugin = Repositories.instance.find_plugin(name) unless plugin.nil? plugin.install(install_method, @options) else puts "Plugin not found: #{name}" exit 1 end end end end