[DRE-commits] [ruby-commander] 02/02: Revert direct changes to bin/commander

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Apr 3 00:11:55 UTC 2015


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository ruby-commander.

commit b3f2d29e78f2b3310225fe56f05fd0e3c6c81dc4
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu Apr 2 21:09:51 2015 -0300

    Revert direct changes to bin/commander
    
    `require 'rubygems'` is a no-op in Ruby > 1.9 so it doesn't matter
    anyway
---
 bin/commander | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/commander b/bin/commander
index 201f9d1..393daec 100755
--- a/bin/commander
+++ b/bin/commander
@@ -1,5 +1,6 @@
 #!/usr/bin/env ruby
 
+require 'rubygems'
 require 'commander/import'
 
 program :name, 'commander'
@@ -22,6 +23,7 @@ command :init do |c|
         f.write <<-"...".gsub!(/^ {10}/, '')
           #!/usr/bin/env ruby
           
+          require 'rubygems'
           require 'commander/import'
           
           program :version, '0.0.1'
@@ -50,4 +52,4 @@ command :init do |c|
        abort e
      end
   end
-end
+end
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-commander.git



More information about the Pkg-ruby-extras-commits mailing list