summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/em-websocket/em-websocket-0.5.1.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-ruby/em-websocket/em-websocket-0.5.1.ebuild b/dev-ruby/em-websocket/em-websocket-0.5.1.ebuild
index 42534c143040..2bfcb9ecaf1a 100644
--- a/dev-ruby/em-websocket/em-websocket-0.5.1.ebuild
+++ b/dev-ruby/em-websocket/em-websocket-0.5.1.ebuild
@@ -30,6 +30,9 @@ ruby_add_rdepend "
"
all_ruby_prepare() {
+ # Avoid dependency on git
+ sed -i -e '/ls-files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Only run unit tests since we require unpackaged code for the
# integration tests.
sed -i -e "/^require 'em-\(spec\|http\|websocket-client\)/ s:^:#:" \