Permalink
Browse files

use require_relative instead of require

  • Loading branch information...
1 parent 3a10bcc commit 2c37fb1575bf3d320292ac9b26e9741ba1e0229b @jugyo committed Aug 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/g.rb
View
@@ -40,7 +40,7 @@ def g(*args)
%w(terminal-notifier ruby_gntp).each do |lib|
begin
require lib
- require "g/#{lib}"
+ require_relative "g/#{lib}"
throw :break
rescue LoadError
end

0 comments on commit 2c37fb1

Please sign in to comment.