While trying to migrate, I keep getting this error:
rake aborted!
test-unit is not part of the bundle. Add it to Gemfile.
If I’m using RSpec, can I just delete the test folder altogether?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This error means that somewhere inside your project there is a
require test-unitwithout it being specified in theGemfile.So you should actually try to find that statement and remove it to fix this error (or add the dependency to the gemfile –but that sounds a bit backwards if you are not using it).
Anyway: you can definitely remove the
testfolder if you are usingrspec.