doc/scripts/buildr-git.rb in vic-buildr-1.3.1 vs doc/scripts/buildr-git.rb in vic-buildr-1.3.3
- old
+ new
@@ -26,10 +26,10 @@
require 'optparse'
require 'ostruct'
# Pager from http://nex-3.com/posts/73-git-style-automatic-paging-in-ruby
def run_pager
- return if PLATFORM =~ /win32/
+ return if RUBY_PLATFORM =~ /win32/
return unless STDOUT.tty?
read, write = IO.pipe
unless Kernel.fork # Child process