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 presentation/docker_workshop_1.html #540

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vishal-sharma-369
Copy link
Contributor

Improved grammatical sense

@vishal-sharma-369
Copy link
Contributor Author

Checks failing for all PR's

This is what chatgpt suggests.

The error you're encountering is related to conflicting versions of the nokogiri gem being activated. Your system has nokogiri version 1.15.4 already activated, but your Gemfile requires version 1.13.6.

Here's how to resolve this:

1. Use bundle exec to Run Commands:

The error message suggests using bundle exec to ensure that the correct version of the gems specified in your Gemfile is used. For example, if you're running a Jekyll command, you would use:

bundle exec jekyll serve

2. Install the Correct Version of nokogiri:

If you prefer to use the version of nokogiri specified in your Gemfile, you can install it by running:

bundle install

This will ensure that the correct version of nokogiri (and other gems) is installed and used.

3. Update nokogiri in Your Gemfile (Optional):

If you want to use the already installed version of nokogiri (1.15.4), you can update your Gemfile to require this version:

  1. Open your Gemfile.
  2. Find the line where nokogiri is specified, e.g., gem 'nokogiri', '~> 1.13.6'.
  3. Change it to gem 'nokogiri', '~> 1.15.4'.
  4. Run bundle install to update the Gemfile.lock.

4. Clear Bundler's Environment Settings:

Sometimes, the environment settings can cause issues. You can clear them by running:

bundle exec gem uninstall nokogiri
bundle install

This will uninstall the current version and install the correct one as per your Gemfile.

Summary:

The easiest way to avoid conflicts is to always run your commands with bundle exec, as it ensures that the gem versions specified in your Gemfile.lock are used. If you continue to have conflicts, you may need to adjust the version of the gems specified in your Gemfile.

Corrected the syntax error in the html file. (<) and (>) symbols can't be directly used in html files due to which the content was not rendering out correctly leading to confusion.
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.

1 participant