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

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

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -