ruby - rake aborted ! name error uninitialized constant Rails :: API :: Rdoc -


when trying run rake db:migrate in rails error:

rake aborted ! name error uninitialized constant rails :: api :: rdoc 

i newbie in ruby on rails following youtube tutorial build web blog application: https://www.youtube.com/watch?v=bi_vnnolsky
in video runs rake db fine, confused why got rake aborted error in command prompt, migration file code is:

class createposts < activerecord::migration    def change      create_table :posts |t|       t.string :title       t.text :body        t.timestamps     end   end  end 

would please me this?


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Using jquery append to add option values into a select element not working -

javascript - Restarting Supervisor and effect on FlaskSocketIO -