Update rakefile.rb

check for tmp dir in bundle task.