cockroach
cockroach copied to clipboard
Missing Gemfile in the repository for Jekyll setup
Missing Gemfile in the repository for Jekyll setup #129639
I encountered an issue when trying to run Jekyll using the instructions from the CONTRIBUTOR.md file in the CockroachDB docs repository. The file mentions running bundle install, but no Gemfile is present in the repository, causing the command to fail.
To Reproduce
Steps to reproduce the behavior:
Follow the instructions in the CONTRIBUTOR.md file.
Clone the CockroachDB docs repository. Run the command gem install jekyll bundler. Attempt to run bundle install as instructed in the documentation. Observe the error stating Could not locate Gemfile or .bundle/ directory.
Expected behavior
I expected the repository to include a Gemfile to install the necessary dependencies using bundle install and be able to serve the site locally using Jekyll without issues.
No Gemfile is present in the repository, so it is impossible to run the bundle install command as expected. Running bundle exec jekyll serve also fails due to the missing file.
Environment:
Ubuntu 24.04 LTS Ruby version: [e.g. 2.x] Jekyll version: 4.3.3
Additional context
This issue impacts new contributors trying to set up the CockroachDB docs site locally, as the absence of a Gemfile prevents them from correctly following the instructions.
Labels branch-master
Jira issue: CRDB-41635