Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2469

Replace shebang line in Rakefile back with mode line

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

      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@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            jaruga@redhat.com Jun Aruga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: