# File lib/inline.rb, line 607 def build_gem STDERR.puts "==> Running rake" unless $TESTING or $DEBUG cmd = "#{RAKE} package" cmd += "> #{DEV_NULL} 2> #{DEV_NULL}" if $TESTING unless $DEBUG if system cmd then unless $TESTING then STDERR.puts STDERR.puts "Ok, you now have a gem in ./pkg, enjoy!" end else STDERR.puts "Calling rake to build the gem failed." unless $TESTING end end