Skip to content

Commit

Permalink
Update Rakefile
Browse files Browse the repository at this point in the history
Trying to serve jekyll without `bundle exec` throws an error (jekyll/jekyll#3084)
  • Loading branch information
yourwebmaker committed Jan 22, 2015
1 parent 7c91815 commit ecc46b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ CONFIG = {

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

desc 'Search site and print specific deprecation warnings'
Expand Down Expand Up @@ -85,4 +85,4 @@ task :page do
post.puts 'description: ""'
post.puts "---"
end
end # task :page
end # task :page

0 comments on commit ecc46b6

Please sign in to comment.