alexch/learn_ruby

rake -> NoMethod error: undefined method 'last comment'...

Jerliyah opened this issue · 0 comments

The solution is found here: http://stackoverflow.com/questions/35893584/nomethoderror-undefined-method-last-comment-after-upgrading-to-rake-11

Here are very detailed directions in the case that more information is needed or the link doesn't work:
1] Go to the project's folder and open Gemfile (not lock) in your text editor
2] Comment out (Add a # before the text) or delete the line stating gem rake
3] Add the line gem 'rake', '< 11.0'
4] Open your terminal or command line with the current directory being inside the project's folder
5] Run bundle install
6] Run grep rake Gemfile.lock

Now when you cd into a specific excercise and run rake, it should work (you'll receive output from a failed test)