Seed local database
HI,
I am new in Ruby and i am set up the open source project on Ubuntu and stuck in some point.
$ bundle exec rails db:setup
When i execute the above command then its not running.
I was execute this in project directory not from root directory.
I found the error that no Gemfiles and /bundler direcory was found.
Please help asap.
Once you have made you project, you should run rails db:create
to create your database.
It would then do worth looking at The Rail Tutorial which gives a great overview of the basics about Rails. Chapter 2 will give you a good idea on how to deal with migrations, and general DB stuff.