Skip to content

Commit

Permalink
Fix Bundler setup instructions
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
franzliedke committed Dec 1, 2023
1 parent 54e00b0 commit f6c88f0
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions bundler/doc/development/SETUP.md
Expand Up @@ -6,31 +6,27 @@ To work on Bundler, you'll probably want to do a couple of things:

* Install `graphviz` package using your package manager:

$ sudo apt-get install graphviz -y
sudo apt-get install graphviz -y

And for OS X (with brew installed):

$ brew install graphviz
brew install graphviz

* Install development dependencies from the rubygems root directory:
* Install development dependencies and Bundler's test dependencies from the rubygems root directory:

$ rake setup
bin/rake setup spec:parallel_deps

* Change into the bundler directory:

$ cd bundler

* Install Bundler's test dependencies:

$ bin/rake spec:parallel_deps
cd bundler

* Now you can run the test suite in parallel:

$ bin/parallel_rspec
bin/parallel_rspec

* Set up a shell alias to run Bundler from your clone, e.g. a Bash alias ([follow these instructions](https://www.moncefbelyamani.com/create-aliases-in-bash-profile-to-assign-shortcuts-for-common-terminal-commands/) for adding aliases to your `~/.bashrc` profile):

$ alias dbundle='ruby /path/to/bundler/repo/spec/support/bundle.rb'
alias dbundle='ruby /path/to/bundler/repo/spec/support/bundle.rb'

## Jointly developing on Bundler and RubyGems

Expand Down

0 comments on commit f6c88f0

Please sign in to comment.