Sameer Iyengar
Sameer Iyengar

Reputation: 5

Rails on Github Pages

I recently set up my own Github Pages site, and I want to extend the functionality. I have a very basic site set up, with some HTML, CSS, Tailwind, and jQuery. I want to use Rails on my site for a blog. I was planning on using Jekyll, but I had some weird installation errors that put me off, and I want to learn Rails and Ruby anyhow, so I can broaden my horizons. Is it possible to host a site with Rails on Github Pages?

Note: I saw the older thread from ~2015 regarding a similar question, but I wasn't sure if those answers are up to date.

Thanks in advance.

Upvotes: 0

Views: 247

Answers (2)

Yakov
Yakov

Reputation: 3191

GitHub Pages only for static sites. Here is the quote from the documentation

GitHub Pages is a static site hosting service that takes HTML, CSS, and JavaScript files straight from a repository on GitHub,

If you want to host Rails-app try Heroku or something similar.

Upvotes: 1

Pavel Oganesyan
Pavel Oganesyan

Reputation: 6924

No, it is not possible since GitHub Pages only provide serverless static site hosting, there is no server to run Rails app.

Upvotes: 0

Related Questions