tasks/console.rake in tty-pager-0.9.0 vs tasks/console.rake in tty-pager-0.10.0
- old
+ new
@@ -2,10 +2,10 @@
desc 'Load gem inside irb console'
task :console do
require 'irb'
require 'irb/completion'
- require File.join(__FILE__, '../../lib/tty-pager')
+ require_relative '../lib/tty-pager'
ARGV.clear
IRB.start
end
task :c => :console