bananakinq
Joined
10 Experience
0 Lessons Completed
0 Questions Solved
Activity
Posted in Setup MacOS 10.13 High Sierra Discussion
Hi when i run the 'Final steps' which starts with rails new my app . i get in red conflict .gitignore on the terminal. also when i run the local host 3000 link on safari it says safari can't connect to the server.
rails new myapp -d mysql
If you want to use Postgres
Note you will need to change config/database.yml's username to be
the same as your OSX user account. (for example, mine is 'chris')
rails new myapp -d postgresql
Move into the application directory
cd myapp
If you setup MySQL or Postgres with a username/password, modify the
config/database.yml file to contain the username/password that you specified
Create the database
rake db:create
rails server
exist
identical README.md
identical Rakefile
identical .ruby-version
identical config.ru
conflict .gitignore
Overwrite /Users/owner/myapp/.gitignore? (enter "h" for help) [Ynaqdhm]