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

Fix Bundler setup instructions #7216

Merged

Conversation

franzliedke
Copy link
Contributor

What was the end-user or developer problem that led to this PR?

Following the developer setup instructions led to failed commands.

What is your fix for the problem, implemented in this PR?

The Rake command needs to be executed in the root directory before switching to the bundler directory.
I reordered the instructions accordingly.

Make sure the following tasks are checked

Copy link

welcome bot commented Dec 1, 2023

Thanks for opening a pull request and helping make RubyGems and Bundler better! Someone from the RubyGems team will take a look at your pull request shortly and leave any feedback. Please make sure that your pull request has tests for any changes or added functionality.

We use GitHub Actions to test and make sure your change works functionally and uses acceptable conventions, you can review the current progress of GitHub Actions in the PR status window below.

If you have any questions or concerns that you wish to ask, feel free to leave a comment in this PR or join our #rubygems or #bundler channel on Slack.

For more information about contributing to the RubyGems project feel free to review our CONTRIBUTING guide


$ rake setup
$ bin/rake spec:parallel_deps
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Instead of joining these, I could also apply the format from e.g. CONTRIBUTING.md and remove the leading $ so that GitHub's handy little copy-to-clipboard button works directly. 🤓

Copy link
Member

Choose a reason for hiding this comment

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

This could also say bin/rake setup spec:parallel_deps.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Haha, yes. 🤦🏼

Changed it accordingly.

When trying to follow the instructions locally, they did not work until
I realized they were out of order. The Rake command needs to be executed
in the root directory before switching to the bundler directory.
@franzliedke franzliedke force-pushed the fl/fix-bundler-dev-instructions branch from 0edee2f to f6c88f0 Compare December 1, 2023 23:04
@martinemde
Copy link
Member

Thank you for noticing and fixing this!

@martinemde martinemde merged commit 4f9fe9a into rubygems:master Dec 2, 2023
66 checks passed
@franzliedke franzliedke deleted the fl/fix-bundler-dev-instructions branch December 2, 2023 18:35
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.

None yet

2 participants