private Method

Plugin.install_using_http(options = {})

There's no documentation for this item.

Source Code

# File commands/plugin.rb, line 240
def install_using_http(options = {})
  root = rails_env.root
  mkdir_p "#{root}/vendor/plugins"
  Dir.chdir "#{root}/vendor/plugins" do
    puts "fetching from '#{uri}'" if $verbose
    fetcher = RecursiveHTTPFetcher.new(uri)
    fetcher.quiet = true if options[:quiet]
    fetcher.fetch
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.