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

Update ubuntu.md #8080

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update ubuntu.md #8080

wants to merge 1 commit into from

Conversation

chocksmith
Copy link

Fixes #5165

Hi, I've lost some time on a bug until I found this: #5165

gem update --system
is necessary because of this: https://bundler.io/blog/2019/05/14/solutions-for-cant-find-gem-bundler-with-executable-bundle.html

I tested on a brand new, fresh, Ubuntu create at AWS.

Tks!

Summary

Context

Hi, I've lost a lot of time until I found this: jekyll#5165

gem update --system
is necessary because of this: https://bundler.io/blog/2019/05/14/solutions-for-cant-find-gem-bundler-with-executable-bundle.html

I tested on a brand new, fresh, Ubuntu create at AWS.

Tks!
@@ -24,7 +24,10 @@ source ~/.bashrc
Finally, install Jekyll:

```sh
gem install jekyll bundler
gem install bundler
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
gem install bundler
gem install bundler jekyll

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chocksmith Did you remove jekyll on purpose?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I did.
Look here: #5165 (comment)

Tks!

@MichaelCurrin
Copy link
Contributor

MichaelCurrin commented Jul 11, 2020

The update line is not specific to ubuntu and won't be needed for fresh installs which get a newer bundler. There may be other unintended consequences to updating all gems.

Can I suggest this be moved to a separate page which is OS-independent on Bundler debugging and link to it from other pages.
You can add an explanation about why it is necessary so someone can skip it.

You can also make it clearer what it is doing as

gem upgrade bundler 

Or whatever the correct syntax is.
And also recommend Bundler X and Ruby 2.7.x in the doc

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

Successfully merging this pull request may close these issues.

Bundler LoadError on jekyll serve
3 participants