Skip to content

Commit

Permalink
Add note about running Jekyll with bundle exec
Browse files Browse the repository at this point in the history
  • Loading branch information
mmistakes committed Nov 11, 2014
1 parent 3b44135 commit b519d2b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions theme-setup/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,22 @@ paginate: 5

---

## Running Jekyll

If `jekyll build` and `jekyll serve` throw errors you may have to run Jekyll with `bundled exec` instead.

> In some cases, running executables without bundle exec may work, if the executable happens to be installed in your system and does not pull in any gems that conflict with your bundle.
>
>However, this is unreliable and is the source of considerable pain. Even if it looks like it works, it may not work in the future or on another machine.
{% highlight text %}
bundle exec jekyll build

bundle exec jekyll serve
{% endhighlight %}

---

## Folder Structure

{% highlight bash %}
Expand Down

0 comments on commit b519d2b

Please sign in to comment.