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

Don't use Rake v11 with older rubies #1570

Merged
merged 1 commit into from
Mar 10, 2016
Merged

Conversation

bquorning
Copy link
Contributor

It doesn't work with Ruby 1.8.7 and 1.9.2.

The latest master build has 8 jobs failing because of the new release of Rake. And it’s hard to work on pull requests when you can’t get a green build :-)

@JonRowe
Copy link
Member

JonRowe commented Mar 10, 2016

See how we've done this on rspec/rspec-core#2200

It doesn't work with Ruby 1.8.7 and 1.9.2.
@bquorning
Copy link
Contributor Author

Thank you @JonRowe. I’ve updated the code.

@bquorning bquorning changed the title Don't use Rake v11 Don't use Rake v11 with older rubies Mar 10, 2016
@Eric-Guo
Copy link

Seems the root cause is due to rake 11 last_comment rename to last_description, so why can not change master of rspec-core similar to PR 2202?

@bquorning
Copy link
Contributor Author

This gem doesn’t use last_comment, nor last_description.

@Eric-Guo
Copy link

@bquorning Sorry miss leading, I just found the exactly PR of rspec-core, I means since the rspec-core master will support rake 11, so no need here to constraint to using rake 10 only.

@bquorning
Copy link
Contributor Author

Rake v11 doesn’t work with Ruby 1.8.7 and 1.9.2. This PR allows newer versions of Ruby to use the new Rake, while these two older Rubies are limited to the older, compatible version of Rake.

@Eric-Guo
Copy link

@bquorning you are right, I miss leading again 😄

@bquorning
Copy link
Contributor Author

No problem :-)

@bquorning
Copy link
Contributor Author

Ready to review/merge.

@bquorning bquorning mentioned this pull request Mar 10, 2016
JonRowe added a commit that referenced this pull request Mar 10, 2016
Don't use Rake v11 with older rubies
@JonRowe JonRowe merged commit a52dca9 into rspec:master Mar 10, 2016
@bquorning bquorning deleted the use-older-rake branch March 11, 2016 10:37
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.

3 participants