Skip to content

Commit a650591

Browse files
committed
Use not deprecated Bundle.unbundled_system
1 parent 7eefbba commit a650591

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Rakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,16 @@ task :update_docs, [:version, :branch, :website_path] do |t, args|
7171
--plugin rspec-docs-template \
7272
--output-dir #{args[:website_path]}/source/documentation/#{args[:version]}/#{project}/"
7373
puts cmd
74-
Bundler.clean_system(cmd)
74+
Bundler.unbundled_system(cmd)
7575
in_place =
7676
if RUBY_PLATFORM =~ /darwin/ # if this is os x then we must modify sed
7777
"-i ''"
7878
else
7979
"-i''"
8080
end
8181

82-
Bundler.clean_system %Q{pushd #{args[:website_path]}; ag -l src=\\"\\\(?:..\/\\\)*js | xargs -I{} sed #{in_place} 's/src="\\\(..\\\/\\\)*js/src="\\\/documentation\\\/#{args[:version]}\\\/#{project}\\\/js/' {}; popd}
83-
Bundler.clean_system %Q{pushd #{args[:website_path]}; ag -l href=\\"\\\(?:..\/\\\)*css | xargs -I{} sed #{in_place} 's/href="\\\(..\\\/\\\)*css/href="\\\/documentation\\\/#{args[:version]}\\\/#{project}\\\/css/' {}; popd}
82+
Bundler.unbundled_system %Q{pushd #{args[:website_path]}; ag -l src=\\"\\\(?:..\/\\\)*js | xargs -I{} sed #{in_place} 's/src="\\\(..\\\/\\\)*js/src="\\\/documentation\\\/#{args[:version]}\\\/#{project}\\\/js/' {}; popd}
83+
Bundler.unbundled_system %Q{pushd #{args[:website_path]}; ag -l href=\\"\\\(?:..\/\\\)*css | xargs -I{} sed #{in_place} 's/href="\\\(..\\\/\\\)*css/href="\\\/documentation\\\/#{args[:version]}\\\/#{project}\\\/css/' {}; popd}
8484
end
8585
end
8686

0 commit comments

Comments
 (0)