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

Modified gem dependency to include AR 4.x #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ahacking
Copy link

Fix gem dependency to allow gem to be used with Rails 4.x

@jnicklas
Copy link
Collaborator

The current gem dependency does allow for Rails 4, no?

@ahacking
Copy link
Author

Ok my bad, I got a bundler error using the current gems at rubygems.org so I assumed it was an issue with the dependencies and I just fixed it a local clone. I then decided I may as well generate the pull request and here we are.

I can confirm that specifying your github master explicitly in the Gemfile does work but gems at rubygems.org don't.

Well its up to you, but it is probably much safer to be pessimistic with version deps, because AR 4.x -> AR 5.0 is likely to break things just as AR 3.x to AR 4.0 did. This seems to be a common defensive strategy used by many gems.

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.

2 participants