Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix error while doing bundle error. Branch name is changed from maste…#1017

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
sonianand11 wants to merge1 commit intoelastic:main
base:main
Choose a base branch
Loading
fromsonianand11:fix_errors

Conversation

@sonianand11
Copy link

@sonianand11sonianand11 commentedDec 27, 2021
edited
Loading

  • Since the branch name is changed to main from master,bundle install was giving an error in elasticsearch-persistance app which is fixed with specifying branch name
  • Fix the errorundefined method each_with_hit for Hash

…r to main. * Fix when run the persistance app.
@cla-checker-service
Copy link

cla-checker-servicebot commentedDec 27, 2021
edited
Loading

💚 CLA has been signed

@sonianand11
Copy link
Author

@picandocodigo can you please review this PR?

@picandocodigo
Copy link
Member

Hi@sonianand11,
Thanks for submitting this PR. GitHub has some features in place to redirect tomain when there's a request tomaster and it seems to be working as expected with bundler for me. What error were you getting when runningbundle install and what versions of Bundler and Ruby were you using?

@sonianand11
Copy link
Author

sonianand11 commentedDec 29, 2021
edited
Loading

@picandocodigo Thank you for quick response.
Current ruby version isruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux]
I am using bundler version 2.1.4 and here is the error

Fetching https://github.com/elastic/elasticsearch-rails.gitfatal: Needed a single revisionGit error: command `git rev-parse --verify master` in directory

I am executingbundle install inside examples directory i.e.elasticsearch-rails/elasticsearch-persistence/examples/notes

If I dogit branch inelasticsearch-rails/elasticsearch-persistence/examples/notes it is showing main branch instead of master since we already have changed that.

@deivid-rodriguez
Copy link
Contributor

Hi@sonianand11. If you update Bundler to a version >= 2.2.5, it will just work and there's no need to change theGemfile.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@sonianand11@picandocodigo@deivid-rodriguez

[8]ページ先頭

©2009-2025 Movatter.jp