Sha256: 2fdea166edff69ab1c7329302f57efddb06d53947c55f651d136e26f9faf6abc

Contents?: true

Size: 215 Bytes

Versions: 4

Compression:

Stored size: 215 Bytes

Contents

def sudo
  ENV['MERB_SUDO'] ||= "sudo"
  sudo = windows? ? "" : ENV['MERB_SUDO']
end

def windows?
  (PLATFORM =~ /win32|cygwin/) rescue nil
end

def install_home
  ENV['GEM_HOME'] ? "-i #{ENV['GEM_HOME']}" : ""
end

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
thorero-0.9.4.5 lib/merb-core/tasks/merb_rake_helper.rb
merb-core-0.9.4 lib/merb-core/tasks/merb_rake_helper.rb
merb-core-0.9.5 lib/merb-core/tasks/merb_rake_helper.rb
thorero-core-0.9.4.6 lib/merb-core/tasks/merb_rake_helper.rb