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

Upgrading to 4.0.1 #94

Open
joshuacronemeyer opened this issue Feb 16, 2023 · 0 comments
Open

Upgrading to 4.0.1 #94

joshuacronemeyer opened this issue Feb 16, 2023 · 0 comments

Comments

@joshuacronemeyer
Copy link

Hi there I wanted to report I had trouble updating our Gemfile to use 4.0.1. I think it's related to the switch from master to main branch. bundler was ignoring the new version for me so I updated by gem file to specify the version as > 4.0.1 and That got me this error message

josh@MacBook-Pro$ bundle update by_star                                                                                                                    [ruby-3.1.2]
Fetching https://github.com/radar/by_star
Fetching gem metadata from https://rubygems.org/........
Could not find gem 'by_star (>= 4.0.1)' in https://github.com/radar/by_star (at master@d7811c0).

Which helped me realize the difference. I had to manually specify the main branch in my Gemfile to get the new version. Like this:

gem 'by_star', git: 'https://github.com/radar/by_star', branch: 'main'

And then i was able to bundle update by_star successfully. I don't understand why this was the case but figured i'd post here in the hope this helps somebody else down the road. I'm on bundler 2.3.22 maybe newer versions of bundler handle this better?

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

No branches or pull requests

1 participant