-
Notifications
You must be signed in to change notification settings - Fork 89
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
development.md env setup is broken: vendor_gems script fails with gem not found error #646
Comments
Also, I just noticed that the script-vendored gems are actually committed as part of this repository (under src/bosh_azure_cpi/vendor/package), which raises a few additional questions:
All of the above questions also seem at least partially related to PR #133, which seems to have modified several vendoring-related behaviors. But I couldn't find any documentation within the repo about the vendoring script/process. UpdateI submitted PR #649 to fix the above issues. I had to make some assumptions about which files do vs do not get committed (due to the limited documentation about the gem vendoring process, and conflicting info/contents in various past commits). Feel free to correct the PR as needed if any of my assumptions were wrong. |
Related: This repo's dev scripts also impose specific constraints about the location at which |
Note: This addresses several vendored gem file issues [discussed in this comment](cloudfoundry#646 (comment)). See also: - [commit a5a64ba](cloudfoundry@a5a64ba) - PR cloudfoundry#637 - commit [7aeab76](cloudfoundry@7aeab76) - PR cloudfoundry#639 - commit [60c3a63](cloudfoundry@60c3a63) (especially the commit comment)
#649 got merged |
Versions (please add them if you have more releases for this issue)
Dev env OS/HW: darwin_arm64
Ruby version: ruby 2.7.3p183 (2021-04-05 revision 6847ee089d) [arm64-darwin20]
Bundler version: Bundler version 2.2.32 (2021-11-23 commit 20d4957649)
CPI Version: Not applicable
BOSH Version: latest source (commit f501223)
CF Version: Not applicable
Diego Version: Not applicable
Stemcell
Not applicable
Environment
Issue Details
The env setup instructions in 'docs/development.md' seem to have become broken, likely due to this recent commit.
Logs (Please redact all sensitive information in your logs)
Repro steps (if necessary, delete otherwise)
./vendor_gems
produced the error (see above)Workaround
gem install rspec-retry -v 0.6.2
(to manually install the missing gem)I suspect that either the docs/development.md docs need to be updated (e.g. to explicitly install 'test' group gem dependencies?), or else the
rspec-retry
gem recently-added to the "test" group needs to be updated (e.g. added to a different group?).The text was updated successfully, but these errors were encountered: