Skip to content

Commit

Permalink
Added tasks/merb_rake_helper.rb - removed it from merb-more
Browse files Browse the repository at this point in the history
  • Loading branch information
fabien committed May 27, 2008
1 parent b8d1a00 commit 14999ff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/merb-core/tasks/merb_rake_helper.rb
@@ -0,0 +1,5 @@
def sudo
windows = (PLATFORM =~ /win32|cygwin/) rescue nil
ENV['MERB_SUDO'] ||= "sudo"
sudo = windows ? "" : ENV['MERB_SUDO']
end

0 comments on commit 14999ff

Please sign in to comment.