We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4fdae37 + 00d1591 commit c977b91Copy full SHA for c977b91
Rakefile
@@ -253,7 +253,7 @@ multitask :push do
253
puts "## Deploying branch to Github Pages "
254
puts "## Pulling any updates from Github Pages "
255
cd "#{deploy_dir}" do
256
- system "git pull"
+ Bundler.with_clean_env { system "git pull" }
257
end
258
(Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) }
259
Rake::Task[:copydot].invoke(public_dir, deploy_dir)
@@ -265,7 +265,7 @@ multitask :push do
265
puts "\n## Committing: #{message}"
266
system "git commit -m \"#{message}\""
267
puts "\n## Pushing generated #{deploy_dir} website"
268
- system "git push origin #{deploy_branch}"
+ Bundler.with_clean_env { system "git push origin #{deploy_branch}" }
269
puts "\n## Github Pages deploy complete"
270
271
0 commit comments