question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How can I use Jekyll with the Ruby on Rails Stack?

See original GitHub issue

I am trying to use Jekyll with the Ruby on Rails stack, but I’m not sure how to connect to the server

Reproduction Steps: I made a workspace using the Ruby on Rails stack gem install jekyll jekyll new mytheme cd mytheme bundle install jekyll serve

Codenvy version:
5.19.0

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
ghostcommented, Nov 3, 2017

Jekyll runs in a Docker container, and when bound to localhost it accepts only local connections. When you try to reach it, you are coming from outside. So, unbinding server from localhost fixes the problem.

1reaction
ghostcommented, Nov 3, 2017

@jrdnbrn what’s the preview URL macro is there?

Also, you may want to try appending --host=0.0.0.0 to your jekyll serve command.

Hope it helps.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How Ruby on Rails uses Jekyll to build their marketing site
In this showcase, we'll deconstruct the Ruby on Rail's marketing website, which is built on static site generator Jekyll, to see what makes ......
Read more >
How to use jekyll on an existing blog made with rails
My situation is that I have just finished creating a blog using ruby on rails. I have been using localhost to see it...
Read more >
Is Jekyll a Ruby framework like Ruby on Rails or a program ...
Jekyll is a simple, static site generator. Its created using ruby and is installed as a ruby gem. It takes a template directory...
Read more >
Bridgetown: Ruby on the Jamstack, or, Why I Forked Jekyll
Writer, Designer, and Ruby /Bridgetown/ Rails developer ... So in the spring of 2020, I decided to fork Jekyll and put Ruby back...
Read more >
Bridgetown: Next-Generation Progressive Site Generator
A next-generation, progressive site generator & fullstack framework, powered by Ruby. · Listen to what they're saying about Bridgetown: · Build fast. Deploy...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found