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