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
[Discussion] The Jekyll-Bundler marriage #5684
Comments
Isn't this a duplicate of #5660 ? |
not a duplicate.. but rather a superset of the same.. I forgot to reference that PR when I added the section on "Add Bundler as a dependency" in the first comment.. |
Sounds good to me. Should make things simpler for people coming to the ecosystem. |
Doesn't Rails do something similar with its executable? |
AFAIW Rails only shims your local executables within your bin directory, and also within a configuration file, of which I think you can disable entirely. I've not tried in years but you used to be able to do it. |
We need to be able to support running Jekyll without a |
Hi Guys.
I've been seeing numerous instances of users having issues with Bundler and Jekyll in our support-forum and Issues here. All of those arise from having to install Bundler separately and prepend jekyll commands with bundle exec.
So this discussion is about resolving this hurdler to an extent.
I propose:
Add 'Bundler' as a dependency
By adding Bundler as a
runtime_dependency
it will be installed automatically along with Jekyll gem.So no more
cannot load: "bundler"
errors..(I already opened a PR to this effect)
Rewire Jekyll Executable
In theory, it would be better if we add
bundle exec
toexe/jekyll
so that all jekyll commands will be thenceforth automatically run asbundle exec jekyll [command] [...]
even if the user entersjekyll [command] [...]
in their console.We could additionally check for Gemfile's absence and fallback to legacy execution to support older sites.
I hope this is not major enough to be put off till
v4.0
--
/cc @jekyll/core, @jekyll/ecosystem, @jekyll/stability
The text was updated successfully, but these errors were encountered: