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

rake tasks give deprecation warning #26

Open
bill-auger opened this issue Jul 14, 2016 · 2 comments
Open

rake tasks give deprecation warning #26

bill-auger opened this issue Jul 14, 2016 · 2 comments

Comments

@bill-auger
Copy link
Member

$ bundle exec rake routes
[DEPRECATION] `last_comment` is deprecated.  Please use `last_description` instead.
....
@bill-auger
Copy link
Member Author

a student on the forum has offered this solution - i have not yet tested it

See: https://github.com/rspec/rspec-core/issues/2210 for more info.

Solution:

    vim Gemfile and delete version requirement for gem 'rspec-rails'
    bundle update
    rspec -v # now shows 3.5.1
    bundle exec rake db:migrate # party time!

@RobertStroud
Copy link
Contributor

I can confirm that this works - the last two steps are not needed (i.e. "bundle update" is sufficient to cure the problem, "rspec -v" is a verification step, and db migration is not required to fix the issue with "rake routes")

Thank you.

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

2 participants