Skip to content

Commit ecc46b6

Browse files
committed
Update Rakefile
Trying to serve jekyll without `bundle exec` throws an error (jekyll/jekyll#3084)
1 parent 7c91815 commit ecc46b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ CONFIG = {
1616

1717
desc 'Preview the site with Jekyll'
1818
task :preview do
19-
sh "jekyll serve --watch --drafts --baseurl '' --config _config.yml,_config-dev.yml"
19+
sh "bundle exec jekyll serve --watch --drafts --baseurl '' --config _config.yml,_config-dev.yml"
2020
end
2121

2222
desc 'Search site and print specific deprecation warnings'
@@ -85,4 +85,4 @@ task :page do
8585
post.puts 'description: ""'
8686
post.puts "---"
8787
end
88-
end # task :page
88+
end # task :page

0 commit comments

Comments
 (0)