lib/autoproj/package_managers/bundler_manager.rb in autoproj-2.0.3 vs lib/autoproj/package_managers/bundler_manager.rb in autoproj-2.1.0.rc1
- old
+ new
@@ -330,9 +330,10 @@
end
FileUtils.mkdir_p root_dir
if updated = (!File.exist?(gemfile_path) || File.read(gemfile_path) != gemfile_contents)
File.open(gemfile_path, 'w') do |io|
+ io.puts "ruby \"#{RUBY_VERSION}\" if respond_to?(:ruby)"
io.puts gemfile_contents
end
end
options = Array.new