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

Q: Do I need to bundle install locally anymore? #17

Closed
Anthonyive opened this issue Apr 12, 2021 · 4 comments
Closed

Q: Do I need to bundle install locally anymore? #17

Anthonyive opened this issue Apr 12, 2021 · 4 comments

Comments

@Anthonyive
Copy link

Anthonyive commented Apr 12, 2021

Hello, I am new to this. Everything is working now. I had some issues where it fails to build, so I did some research and it turns out that I need to delete Gemfile.lock in the main branch. The error message was this:

There was an error while trying to write to `/srv/jekyll/Gemfile.lock`. It is
likely that you need to grant write permissions for that path.
Error: Process completed with exit code 23.

I don't have any issue, but just to ask a question.
I'm wondering if I need to do bundle install locally anymore because it builds for me every time. Thank you.

@jeffreytse
Copy link
Owner

Hi @Anthonyive

I just digged your action record, is this one? The error was introduced by the jekyll/builder action.

Thanks and regards

@Anthonyive
Copy link
Author

@jeffreytse Thanks. I have solved the build issue. People suggested to just not include Gemfile.lock and it worked perfectly. I'm just wondering if do I need to bundle install locally anymore since you know, the workflow essentially build for me on the cloud.

@jeffreytse
Copy link
Owner

jeffreytse commented Apr 13, 2021

@Anthonyive Sure, you can run bundle install anytime but just need to add Gemfile.lock to your .gitignore file to avoid tracking this file, the .gitignore content should be as below:

_site
.bundle
.sass-cache
.jekyll-metadata
Gemfile.lock

@Anthonyive
Copy link
Author

Got you. Thank you.

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