# File lib/phusion_passenger/platform_info/ruby.rb, line 129 def self.rake_command filename = rake # If the Rake executable is a Ruby program then we need to run # it in the correct Ruby interpreter just in case Rake doesn't # have the correct shebang line; we don't want a totally different # Ruby than the current one to be invoked. if filename && is_ruby_program?(filename) return "#{ruby_command} #{filename}" else # If it's not a Ruby program then it's probably a wrapper # script as is the case with e.g. RVM (~/.rvm/wrappers). return filename end end