From 24f9f950ca4011abf370c5cc3b0cc3ba23412912 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Sun, 18 Apr 2010 21:55:13 -0500 Subject: [PATCH] strip rubygems requires from cap too --- rpg-shit-list.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpg-shit-list.sh b/rpg-shit-list.sh index 3b478ff..bbac90c 100644 --- a/rpg-shit-list.sh +++ b/rpg-shit-list.sh @@ -49,6 +49,8 @@ capistrano) fixable "capistrano/version.rb reads VERSION file from package root" cd "$path" sedi "s/CURRENT = /CURRENT = '$version' #/" lib/capistrano/version.rb + sedi "s/ require 'rubygems'//" lib/capistrano/ssh.rb + sedi "s/ gem 'net-ssh', \">= 2.0.10\"//" lib/capistrano/ssh.rb ;; SystemTimer)