From 1b0654ea41d15552c19f767570d4f551d617e742 Mon Sep 17 00:00:00 2001 From: Tekin Suleyman Date: Thu, 29 May 2008 18:40:30 +0100 Subject: Ensure script/plugin installs ssh/git plugins. [#277 state:resolved] Signed-off-by: Pratik Naik --- railties/lib/commands/plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib/commands') diff --git a/railties/lib/commands/plugin.rb b/railties/lib/commands/plugin.rb index d12d002c4e..105819ce90 100644 --- a/railties/lib/commands/plugin.rb +++ b/railties/lib/commands/plugin.rb @@ -163,7 +163,7 @@ class Plugin end def git_url? - @uri =~ /^git:\/\// || @url =~ /\.git$/ + @uri =~ /^git:\/\// || @uri =~ /\.git$/ end def installed? -- cgit v1.2.3