Answer the question
In order to leave comments, you need to log in
How to match between RAils 4.2.4 and DB?
I have rails 4.2.4
and this is the error I get with rake db:test:clone
when fixing it manually rake db:migrate RAILS_ENV =test the same
when using ActiveRecord :: Migrate .maintain_test_schema! error remains
Answer the question
In order to leave comments, you need to log in
1. Environment variables are assigned without spaces before and after equals.
2. Specify environment variables always before executing the command, not after. Because if you do it after, then the command may start to work incorrectly, since the variable gets inside the script and god knows how it processes it. Based on your output, rake thinks it's a command.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question