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

Some way to specify which version of Jekyll to use #13

Open
pathawks opened this issue Feb 6, 2018 · 2 comments
Open

Some way to specify which version of Jekyll to use #13

pathawks opened this issue Feb 6, 2018 · 2 comments

Comments

@pathawks
Copy link
Member

pathawks commented Feb 6, 2018

Now that we are including a Gemfile in the output site, it would be nice to specify the version of Jekyll to use for building the site. This way, we could test against (ie:) pull request branches as well as the master branch.

Perhaps we could check for some environment variable and, if it is non-null, use that in Gemfile instead of the gem "jekyll" line?

@DirtyF
Copy link
Member

DirtyF commented Feb 6, 2018

gem "jekyll", "#{ENV["JEKYLL_VERSION"]}" if ENV["JEKYLL_VERSION"]?

@pathawks
Copy link
Member Author

pathawks commented Feb 6, 2018

It will have to be more flexible than that, because maybe I want something like

gem 'jekyll', :github => 'jekyll/jekyll', :branch => 'related-posts-perf-improvements'

Or maybe I want a specific commit. Or maybe I want it pulled from my repo instead of jekyll/jekyll

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

2 participants