Permalink
Browse files

Only run rump once

When running rump as bin/rump from within its won repo rump would be
executed twice.
  • Loading branch information...
1 parent 3b56df0 commit 02ddd0c39158fdba8c7b03b03d0cbd923ce2c037 @johnf johnf committed Aug 2, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 bin/rump
View
@@ -13,6 +13,7 @@ end
rump_binstub = Pathname.new(Dir.pwd) + 'bin' + 'rump'
if rump_binstub.exist? and rump_binstub.to_s != __FILE__
load rump_binstub
+ exit
end
# Otherwise, load rump from a gem as per usual.

0 comments on commit 02ddd0c

Please sign in to comment.