bin/autoproj_install in autoproj-2.8.3 vs bin/autoproj_install in autoproj-2.8.4
- old
+ new
@@ -411,10 +411,14 @@
def self.shim_bundler(script_lines, ruby_executable, autoproj_gemfile_path, gems_gem_home)
return shim_bundler_old(ruby_executable, autoproj_gemfile_path, gems_gem_home) \
unless new_style_bundler_binstub?(script_lines)
script_lines.insert(1, <<-RESTART_BUNDLER)
+#
+# This file was generated by Bundler.
+#
+
# Autoproj generated preamble
if defined?(Bundler)
Bundler.with_clean_env do
exec($0, *ARGV)
end
@@ -450,9 +454,13 @@
return shim_script_old(ruby_executable, root_dir,
autoproj_gemfile_path, gems_gem_home, load_line) \
unless new_style
script_lines.insert(1, <<-AUTOPROJ_PREAMBLE)
+#
+# This file was generated by Bundler.
+#
+
# Autoproj generated preamble, v1
if defined?(Bundler)
Bundler.with_clean_env do
exec(Hash['RUBYLIB' => nil], $0, *ARGV)
end