method
install_using_http
v1.1.6 -
Show latest stable
- Class:
Plugin
install_using_http(options = {})private
No documentation available.
# File railties/lib/commands/plugin.rb, line 212
def install_using_http(options = {})
root = rails_env.root
mkdir_p "#{root}/vendor/plugins"
Dir.chdir "#{root}/vendor/plugins"
puts "fetching from '#{uri}'" if $verbose
fetcher = RecursiveHTTPFetcher.new(uri)
fetcher.quiet = true if options[:quiet]
fetcher.fetch
end