Skip to content
This repository has been archived by the owner on Mar 30, 2020. It is now read-only.

Commit

Permalink
require 'ghost' should be outside guards
Browse files Browse the repository at this point in the history
Signed-off-by: Bodaniel Jeanes <me@bjeanes.com>
  • Loading branch information
mvr authored and bjeanes committed Mar 7, 2009
1 parent 648de85 commit 95c7c69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/ghost
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

begin
require 'rubygems'
require 'ghost'
rescue LoadError
# no rubygems to load, so we fail silently
end
require 'ghost'

def help_text(exit_code = 0)
script_name = File.basename $0
Expand Down Expand Up @@ -79,4 +79,4 @@ else
$stderr.puts "Invalid option: #{ARGV[0]}"
help_text 1
end
end
end

0 comments on commit 95c7c69

Please sign in to comment.