I got a production server where I’d like to run “rake test” - to check
for file permissions etc. - all tests pass on my local machine.
On the production server I got production db and empty development and
test db. How to create schema.rb file and prepare test db? I tried
various rake tasks, but the schema definition in schema.rb file is
empty and despite the fact that rake tasks (i.e. db:test:prepare and
db:schema:dump) do not return any errors, I can’t create test db
structure and run tests.
Thanks in advance for any tips