I'm doing a tutorial on Twitter Bootstrap and apparently I need to install Jekyll for this. I've followed the installation procedure, but now I'm stuck getting Jekyll to work. In the terminal (Ubuntu 12.04) I start up Jekyll with the command jekyll serve (normal user, not root). This is the output in the terminal:

$ jekyll serve
Configuration file: none
            Source: /home/tester/workspaces/jekyll
       Destination: /home/tester/workspaces/jekyll/_site
      Generating... done.
    Server address:
  Server running... press ctrl-c to stop.

It seems to start up, but when I visit the page, I get the following error:

no access permission to `/'
WEBrick/1.3.1 (Ruby/1.9.3/2011-10-30) at 

I've tried to bind to localhost, but that didn't make a difference:

jekyll serve -H

So it seems like the webserver is running. If I start jekyll as root, no change. How can I get this working?

Configuration file: none

the problem is here. that folder doesn't contain a config file which probably not init jekyll yet.

| improve this answer | |
  • 2
    Please expand upon your answer—this isn't very useful as it stands. – bwDraco Jan 1 '15 at 17:50

The tutorial forgot about creating a new site.

cd /home/tester/workspaces/jekyll
jekyll new testsite
cd testsite
jekyll serve

Now I can open the new site in

| improve this answer | |

I got this error because my site hadn't built properly. Check to see if there's an index.html in the _site

| improve this answer | |

If you had created and modified, then the reason is that you must be in the directory where you have the project and then there if $jekyll serve

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.