Replace shebang line in Rakefile back with mode line

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 2.15.0.alpha
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      On the latest master branch,

      I think adding shebang line in Rakefile is not suitable. Because shebang is used on the executable bit file. But it is not executed like ./Rakefile.

       

      It can be just like this.

       

      
      $ git diff Rakefile
      diff --git a/Rakefile b/Rakefile
      index 996ea5ad2..31f765565 100644
      --- a/Rakefile
      +++ b/Rakefile
      @@ -1,5 +1,3 @@
      -#!/usr/bin/env ruby
      -
       require 'rubygems'
       
       begin
      
      

       

      See https://en.wikipedia.org/wiki/Shebang_(Unix) for detail.

       

       

            Assignee:
            Oleg Pudeyev (Inactive)
            Reporter:
            Jun Aruga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: