I am trying to update my database, which is stored at a DigitalOcean-server. The seeds.rb-file is on the server atm, but I don't know what to type in the console window. When I type "rake db:seed", I get "Command not found". I would have been very thankful if you could help me! :-)
Asked
Active
Viewed 309 times
0
-
`bundle exec rake db:seed RAILS_ENV=
` ? – Magnuss Feb 02 '15 at 15:54 -
I get the same "command not found"-message when I type that. Is there a specific directory that I have to be in? – svakers Feb 02 '15 at 16:16
-
You have to be in your project's root directory. – Magnuss Feb 02 '15 at 16:18