Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi, how to run this locally? jekyll serve does not work? #57

Open
henrikmarklund opened this issue May 13, 2021 · 4 comments
Open

Hi, how to run this locally? jekyll serve does not work? #57

henrikmarklund opened this issue May 13, 2021 · 4 comments

Comments

@henrikmarklund
Copy link

Hey! Great job with this theme.

I was wondering: If I want to run this locally (to do quicker debugging), how would I go about doing that? Seems like jekyll serve does not work.

Thanks,
Henrik

@confor
Copy link

confor commented Nov 12, 2021

Hi, I've been using bundle exec jekyll serve which works fine. Perhaps you're missing the four plugins needed to run the site locally? Try installing them with this command:

$ bundle add jekyll-seo-tag jekyll-paginate jekyll-sitemap jekyll-feed

You can find the list in the config file: https://github.com/amitmerchant1990/reverie/blob/master/_config.yml#L84-L88

@chanind
Copy link

chanind commented Jan 19, 2022

There's no Gemfile in this repo, how can I bundle install the requirements needed at the right versions to get this to run locally? Is there a Gemfile with the expected versions of needed gems? Also, does this work with Ruby 3.x? There's a .ruby-version file which specifies ruby 2.4.3, which is no longer officially supported and seems to be too old to install on my computer successfully.

@ada-x64
Copy link

ada-x64 commented Apr 9, 2022

There's no Gemfile in this repo, how can I bundle install the requirements needed at the right versions to get this to run locally? Is there a Gemfile with the expected versions of needed gems? Also, does this work with Ruby 3.x? There's a .ruby-version file which specifies ruby 2.4.3, which is no longer officially supported and seems to be too old to install on my computer successfully.

This worked for me:

  1. Remove .ruby-version
  2. gem install github-pages webrick
  3. jekyll serve

This is following the instructions from jekyll-now and jekyll's quickstart page

@dan-han-101
Copy link
Contributor

I also figured this out by going to the jekyll-now site.
It would be nice to add this sort of information to the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants