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.

Typo in Rails Plugin Manager is stopping git repos behind SSH working

#276

I was having problems installing git based plugins over SSH, e.g.

ssh://[user@]host.xz/path/to/repo.git/

Bit of digging and I spotted a typo in railties/lib/commands/plugin.rb on line 166. @url should be @uri!

Tekin

Reported by Tekin · May 29th, 2008 @ 06:50 PM

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

Activity

  1. Cheah Chu Yeow
    Cheah Chu Yeow

    There're no existing tests for this but this is an obvious fix. Good catch :)

    May 29th, 2008 @ 07:12 PM

  2. Tekin
    Tekin

    You would have thought so. It still took me a good half am hour of staring at that line before I spotted the typo in disguise!!

    May 29th, 2008 @ 07:38 PM

  3. Pratik
    Pratik
    • State changed from new to resolved

    May 29th, 2008 @ 08:28 PM

  4. Tekin
    Tekin

    I've just created another ticket:http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/278-patch-for-plugin-install-to-support-scp-syntax-git-repo-urls with a small patch, this time to add support for scp syntax urls, ala private repos on github.

    The lack of tests here is problematic as there are lots of opportunities to improve this code. I'm going to find the time to do something about this at some point in the next few weeks..

    May 29th, 2008 @ 10:36 PM

  5. Tekin
    Tekin

    ooer, textile.. ticket is here

    May 30th, 2008 @ 02:39 PM