Rakefile in vagrant-host-shell-0.0.2 vs Rakefile in vagrant-host-shell-0.0.3
- old
+ new
@@ -1,14 +1,28 @@
-require "bundler/gem_tasks"
+require 'rubygems'
+require 'bundler/setup'
+
+# Immediately sync all stdout so that tools like buildbot can
+# immediately load in the output.
+$stdout.sync = true
+$stderr.sync = true
+
+# Change to the directory of this file.
+Dir.chdir(File.expand_path("../", __FILE__))
+
+# This installs the tasks that help with gem creation and
+# publishing.
+Bundler::GemHelper.install_tasks
+