diff options
author | Ken Dreyer <ktdreyer@ktdreyer.com> | 2013-11-26 16:58:00 -0700 |
---|---|---|
committer | Ken Dreyer <ktdreyer@ktdreyer.com> | 2013-11-26 17:25:09 -0700 |
commit | b173fd25731fe525205358a2fc9f783e03c34b6c (patch) | |
tree | 00b25abae873264283407d11cd9bc8fc40eba0c5 /rubygem-unicorn.spec | |
parent | 84c8a1f355e548b30f252753561d342cbf9f83e1 (diff) | |
download | rubygem-unicorn-b173fd25731fe525205358a2fc9f783e03c34b6c.tar.gz rubygem-unicorn-b173fd25731fe525205358a2fc9f783e03c34b6c.tar.xz rubygem-unicorn-b173fd25731fe525205358a2fc9f783e03c34b6c.zip |
require rubygems during binary invocation
Diffstat (limited to 'rubygem-unicorn.spec')
-rw-r--r-- | rubygem-unicorn.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rubygem-unicorn.spec b/rubygem-unicorn.spec index bde6a95..5a00b9b 100644 --- a/rubygem-unicorn.spec +++ b/rubygem-unicorn.spec @@ -72,6 +72,10 @@ sed -i -e '1i#!/usr/bin/ruby' bin/unicorn_rails # Require rubygems when running tests sed -i "2irequire 'rubygems'" test/test_helper.rb +# Require rubygems during binary invocation +sed -i "3irequire 'rubygems'" bin/unicorn +sed -i "3irequire 'rubygems'" bin/unicorn_rails + %build # Create the gem as gem install only works on a gem file |