Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

[Patch] Rails plugin does not get installed for http git repository

#4340

With latest version of Git (e.g. git version 1.7.0.2+), if you try to install (http git repository) rails plugin e.g. http://github.com/NZKoz/rails_xss.git , it throws following error

fatal: dumb http transport does not support --depth

This is because, http git repository does not support "smart http transport".

Rails plugins with git repositories which support of "smart http transport", will get installed without error. Currently GitHub does not support smart http transport.

I have written patch, assuming in general, most git repositories do not support "smart http transport". Also I could not find any other alternative than doing 'git pull' of repo.

See pastie for more info http://pastie.org/908200

Reported by Anil Wadghule · April 7th, 2010 @ 09:45 PM

State: resolved
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to resolved
    • Importance changed from to Low

    It works now, at least on Rails 3.

    October 9th, 2010 @ 03:25 AM